revert changes
This commit is contained in:
parent
15462cc817
commit
c9733ba33e
@ -117,7 +117,7 @@ class ResourceTests < Homebrew::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_verify_download_integrity_mismatch
|
def test_verify_download_integrity_mismatch
|
||||||
fn = stub(file?: true, basename: "Ftest")
|
fn = stub(file?: true)
|
||||||
checksum = @resource.sha256(TEST_SHA256)
|
checksum = @resource.sha256(TEST_SHA256)
|
||||||
|
|
||||||
fn.expects(:verify_checksum).with(checksum)
|
fn.expects(:verify_checksum).with(checksum)
|
||||||
|
|||||||
@ -25,7 +25,7 @@ class IntegrationCommandTestTap < IntegrationCommandTestCase
|
|||||||
assert_match "Unpinned homebrew/foo", cmd("tap-unpin", "homebrew/foo")
|
assert_match "Unpinned homebrew/foo", cmd("tap-unpin", "homebrew/foo")
|
||||||
assert_match "Tapped", cmd("tap", "homebrew/bar", path/".git")
|
assert_match "Tapped", cmd("tap", "homebrew/bar", path/".git")
|
||||||
assert_match "Untapped", cmd("untap", "homebrew/bar")
|
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")
|
assert_match "Untapped", cmd("untap", "homebrew/bar")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user