tests: update prune --verbose test
Closes #15. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
This commit is contained in:
parent
f2245adaa7
commit
7771f3af81
@ -694,7 +694,9 @@ class IntegrationCommandTests < Homebrew::TestCase
|
|||||||
assert (share/"notpruneable").directory?
|
assert (share/"notpruneable").directory?
|
||||||
refute (share/"pruneable_symlink").symlink?
|
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")
|
cmd("prune", "--verbose")
|
||||||
ensure
|
ensure
|
||||||
share.rmtree
|
share.rmtree
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user