aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBruce Steedman2016-10-03 14:28:25 +0100
committerBruce Steedman2016-10-03 14:28:25 +0100
commitc9733ba33ed56649cbce5d1afc393a17e040fe58 (patch)
tree2492d120fb999c7a571dbd26920978edeb01efd1 /Library
parent15462cc8178aa555334d2b67a7e3b6656bd7bf70 (diff)
downloadbrew-c9733ba33ed56649cbce5d1afc393a17e040fe58.tar.bz2
revert changes
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_resource.rb2
-rw-r--r--Library/Homebrew/test/test_tap.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_resource.rb b/Library/Homebrew/test/test_resource.rb
index c7f82a169..c1b526cb2 100644
--- a/Library/Homebrew/test/test_resource.rb
+++ b/Library/Homebrew/test/test_resource.rb
@@ -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)
diff --git a/Library/Homebrew/test/test_tap.rb b/Library/Homebrew/test/test_tap.rb
index 368156e6b..1396d0a0e 100644
--- a/Library/Homebrew/test/test_tap.rb
+++ b/Library/Homebrew/test/test_tap.rb
@@ -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