aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_options.rb
diff options
context:
space:
mode:
authorJack Nagel2014-08-12 23:55:28 -0500
committerJack Nagel2014-08-12 23:55:28 -0500
commit0a2be32d802073ef46596792a46f7139bb862a8c (patch)
treee5fbb09697bd2fb4d28e2e3d35e6d8cc2d5fdb20 /Library/Homebrew/test/test_options.rb
parent28bd10551f8eee4d8c530039b1669cafa9ccaef3 (diff)
downloadbrew-0a2be32d802073ef46596792a46f7139bb862a8c.tar.bz2
Remove unused branches from Options.coerce
Diffstat (limited to 'Library/Homebrew/test/test_options.rb')
-rw-r--r--Library/Homebrew/test/test_options.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/Library/Homebrew/test/test_options.rb b/Library/Homebrew/test/test_options.rb
index 4b9915874..250360a30 100644
--- a/Library/Homebrew/test/test_options.rb
+++ b/Library/Homebrew/test/test_options.rb
@@ -132,15 +132,6 @@ class OptionsTests < Homebrew::TestCase
assert_equal [foo, bar, baz].sort, (@options | options).to_a.sort
end
- def test_coerce_with_options
- assert_same @options, Options.coerce(@options)
- end
-
- def test_coerce_with_option
- option = Option.new("foo")
- assert_equal option, Options.coerce(option).to_a.first
- end
-
def test_coerce_with_array
array = %w{--foo --bar}
option1 = Option.new("foo")