revert changes

This commit is contained in:
Bruce Steedman 2016-10-03 14:28:25 +01:00
parent 15462cc817
commit c9733ba33e
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ class ResourceTests < Homebrew::TestCase
end
def test_verify_download_integrity_mismatch
fn = stub(file?: true, basename: "Ftest")
fn = stub(file?: true)
checksum = @resource.sha256(TEST_SHA256)
fn.expects(:verify_checksum).with(checksum)

View File

@ -25,7 +25,7 @@ class IntegrationCommandTestTap < IntegrationCommandTestCase
assert_match "Unpinned homebrew/foo", cmd("tap-unpin", "homebrew/foo")
assert_match "Tapped", cmd("tap", "homebrew/bar", path/".git")
assert_match "Untapped", cmd("untap", "homebrew/bar")
cmd("tap", "homebrew/bar", path/".git", "-q", "--full")
assert_equal "", cmd("tap", "homebrew/bar", path/".git", "-q", "--full")
assert_match "Untapped", cmd("untap", "homebrew/bar")
end
end