diff options
| author | Jack Nagel | 2014-08-29 19:38:32 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-29 19:38:32 -0500 |
| commit | 6885f588d024839f1f49df0859a682e0e9963e04 (patch) | |
| tree | 14ea87085924554d62f5e0deca9e36183c134b3a /Library/Homebrew/test | |
| parent | 7adbb1ccb9f060c4f6b47644b34369c56b9d28f6 (diff) | |
| download | brew-6885f588d024839f1f49df0859a682e0e9963e04.tar.bz2 | |
Move handling of leading dashes to Options.create
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/test_options.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Library/Homebrew/test/test_options.rb b/Library/Homebrew/test/test_options.rb index 25049ded5..917ad590c 100644 --- a/Library/Homebrew/test/test_options.rb +++ b/Library/Homebrew/test/test_options.rb @@ -19,12 +19,6 @@ class OptionTests < Homebrew::TestCase refute_eql @option, bar end - def test_strips_leading_dashes - option = Option.new("--foo") - assert_equal "foo", option.name - assert_equal "--foo", option.flag - end - def test_description assert_empty @option.description assert_equal "foo", Option.new("foo", "foo").description |
