Skip to content
Snippets Groups Projects
Commit 7771f3af authored by Martin Afanasjew's avatar Martin Afanasjew
Browse files

tests: update prune --verbose test


Closes #15.

Signed-off-by: default avatarMartin Afanasjew <martin@afanasjew.de>
parent f2245ada
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment