aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-12-02 11:15:20 -0500
committerJack Nagel2014-12-02 11:15:20 -0500
commit6fe2ccf85421210ae54cd9d36cf31e168374c9b0 (patch)
tree38bd44467ff2e8b2ef02498c043eb71a30bcc728 /Library
parent03159dd831c652f81ea02eff63d3aae02c5c07a9 (diff)
downloadbrew-6fe2ccf85421210ae54cd9d36cf31e168374c9b0.tar.bz2
Fix duplicated test methods
Diffstat (limited to 'Library')
-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