diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/test_resource.rb | 2 | ||||
| -rw-r--r-- | 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 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 |
