Skip to content
Snippets Groups Projects
Commit fa88b969 authored by Jack Nagel's avatar Jack Nagel
Browse files

Add a test for cxx11 option special case

parent 9f6bd079
No related branches found
No related tags found
No related merge requests found
......@@ -60,6 +60,12 @@ class SoftwareSpecTests < Homebrew::TestCase
assert @spec.option_defined?("foo")
end
def test_cxx11_option_special_case
@spec.option(:cxx11)
assert @spec.option_defined?("c++11")
refute @spec.option_defined?("cxx11")
end
def test_depends_on
@spec.depends_on('foo')
assert_equal 'foo', @spec.deps.first.name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment