aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_integration_cmds.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_integration_cmds.rb b/Library/Homebrew/test/test_integration_cmds.rb
index 920ab6f46..78819a5c6 100644
--- a/Library/Homebrew/test/test_integration_cmds.rb
+++ b/Library/Homebrew/test/test_integration_cmds.rb
@@ -694,7 +694,9 @@ class IntegrationCommandTests < Homebrew::TestCase
assert (share/"notpruneable").directory?
refute (share/"pruneable_symlink").symlink?
- assert_equal "Nothing pruned",
+ # Inexact match because only if ~/Applications exists, will this output one
+ # more line with contents `No apps unlinked from /Users/<user/Applications`.
+ assert_match "Nothing pruned\nNo apps unlinked from /Applications",
cmd("prune", "--verbose")
ensure
share.rmtree