Fix duplicated test methods
This commit is contained in:
parent
03159dd831
commit
6fe2ccf854
@ -32,17 +32,11 @@ class DeprecatedOptionTests < Homebrew::TestCase
|
|||||||
|
|
||||||
def test_old
|
def test_old
|
||||||
assert_equal "foo", @deprecated_option.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
|
assert_equal "--foo", @deprecated_option.old_flag
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_current
|
def test_current
|
||||||
|
assert_equal "bar", @deprecated_option.current
|
||||||
assert_equal "--bar", @deprecated_option.current_flag
|
assert_equal "--bar", @deprecated_option.current_flag
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user