From c9733ba33ed56649cbce5d1afc393a17e040fe58 Mon Sep 17 00:00:00 2001 From: Bruce Steedman Date: Mon, 3 Oct 2016 14:28:25 +0100 Subject: [PATCH] revert changes --- Library/Homebrew/test/test_resource.rb | 2 +- Library/Homebrew/test/test_tap.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/test/test_resource.rb b/Library/Homebrew/test/test_resource.rb index c7f82a169b..c1b526cb2c 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 368156e6ba..1396d0a0eb 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