diff options
| author | Jack Nagel | 2014-08-12 23:55:28 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-12 23:55:28 -0500 |
| commit | cee42c339e7632eab15111e2c4e6c121ace6f9e2 (patch) | |
| tree | 903a8200c970f0dda8b698c6e9cb7cdf5cc1c17b /Library/Homebrew/test | |
| parent | 1c05bc0238aa1abf7d5542b8afa11ead2bee66a8 (diff) | |
| download | homebrew-cee42c339e7632eab15111e2c4e6c121ace6f9e2.tar.bz2 | |
Remove unused branches from Options.coerce
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/test_options.rb | 9 |
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") |
