aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorJack Nagel2014-08-07 10:45:32 -0500
committerJack Nagel2014-08-07 10:45:32 -0500
commitacf8f32a77859e94bca731a5ab7dbc2d3a77e3de (patch)
tree5488db44fff86e544b5fa549f862adb2bcd52297 /Library/Homebrew/test
parentd86f5f717001ca5d1340168b44df6102e74a45c1 (diff)
downloadhomebrew-acf8f32a77859e94bca731a5ab7dbc2d3a77e3de.tar.bz2
Use predefined options for universal, cxx11, and 32-bit options
:universal and :cxx11 are now handled directly, so we don't need to always convert symbols to strings in this method. Symbols should be reserved for future use.
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_software_spec.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/Library/Homebrew/test/test_software_spec.rb b/Library/Homebrew/test/test_software_spec.rb
index 702d2c581..1306a92b9 100644
--- a/Library/Homebrew/test/test_software_spec.rb
+++ b/Library/Homebrew/test/test_software_spec.rb
@@ -55,11 +55,6 @@ class SoftwareSpecTests < Homebrew::TestCase
assert_raises(ArgumentError) { @spec.option("") }
end
- def test_option_accepts_symbols
- @spec.option(:foo)
- assert @spec.option_defined?("foo")
- end
-
def test_cxx11_option_special_case
@spec.option(:cxx11)
assert @spec.option_defined?("c++11")