diff options
| author | Martin Afanasjew | 2016-04-02 18:16:03 +0200 |
|---|---|---|
| committer | Martin Afanasjew | 2016-04-06 10:31:54 +0200 |
| commit | 7771f3af81ba470ac76110a68557aad405bd946d (patch) | |
| tree | dbc978eafa8e3c28559c2cc6364941e09ec8b676 /Library | |
| parent | f2245adaa71ce2746408f5b990dd84c534c4d1de (diff) | |
| download | brew-7771f3af81ba470ac76110a68557aad405bd946d.tar.bz2 | |
tests: update prune --verbose test
Closes #15.
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/test_integration_cmds.rb | 4 |
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 |
