diff options
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/test_options.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Library/Homebrew/test/test_options.rb b/Library/Homebrew/test/test_options.rb index 917ad590c..73ff2b752 100644 --- a/Library/Homebrew/test/test_options.rb +++ b/Library/Homebrew/test/test_options.rb @@ -23,12 +23,6 @@ class OptionTests < Homebrew::TestCase assert_empty @option.description assert_equal "foo", Option.new("foo", "foo").description end - - def test_preserves_short_options - option = Option.new("-d") - assert_equal "-d", option.flag - assert_equal "d", option.name - end end class OptionsTests < Homebrew::TestCase @@ -108,11 +102,4 @@ class OptionsTests < Homebrew::TestCase option2 = Option.new("bar") assert_equal [option1, option2].sort, Options.create(array).sort end - - def test_create_splits_multiple_switches_with_single_dash - array = %w{-vd} - verbose = Option.new("-v") - debug = Option.new("-d") - assert_equal [verbose, debug].sort, Options.create(array).sort - end end |
