aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_options.rb
diff options
context:
space:
mode:
authorJack Nagel2014-12-02 11:15:20 -0500
committerJack Nagel2014-12-02 11:15:20 -0500
commit8452ee664e49646783407551481c07a514c90df0 (patch)
treebaa14bdadc2c500f8f486a020b0987c36153bb8a /Library/Homebrew/test/test_options.rb
parentb7eee6c4fe56d38600b10f14dc066ac8ea714a98 (diff)
downloadhomebrew-8452ee664e49646783407551481c07a514c90df0.tar.bz2
Fix duplicated test methods
Diffstat (limited to 'Library/Homebrew/test/test_options.rb')
-rw-r--r--Library/Homebrew/test/test_options.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/Library/Homebrew/test/test_options.rb b/Library/Homebrew/test/test_options.rb
index fcf49a8d8..e9d3d0836 100644
--- a/Library/Homebrew/test/test_options.rb
+++ b/Library/Homebrew/test/test_options.rb
@@ -32,17 +32,11 @@ class DeprecatedOptionTests < Homebrew::TestCase
def test_old
assert_equal "foo", @deprecated_option.old
- end
-
- def test_current
- assert_equal "bar", @deprecated_option.current
- end
-
- def test_old
assert_equal "--foo", @deprecated_option.old_flag
end
def test_current
+ assert_equal "bar", @deprecated_option.current
assert_equal "--bar", @deprecated_option.current_flag
end