Add failing reinstall test with invalid install option
This commit is contained in:
parent
70b1c6de0b
commit
22a37b2f5d
@ -12,4 +12,13 @@ class IntegrationCommandTestReinstall < IntegrationCommandTestCase
|
|||||||
cmd("reinstall", "testball")
|
cmd("reinstall", "testball")
|
||||||
assert foo_dir.exist?
|
assert foo_dir.exist?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_reinstall_with_invalid_option
|
||||||
|
setup_test_formula "testball"
|
||||||
|
|
||||||
|
cmd("install", "testball", "--with-foo")
|
||||||
|
|
||||||
|
assert_match "testball: this formula has no --with-fo option so it will be ignored!",
|
||||||
|
cmd("reinstall", "testball", "--with-fo")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user