From 8661dba58774329baa412b9a4fe27c04218bf275 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 9 Jul 2013 14:46:20 -0400 Subject: [PATCH] adjust test suite for changed dropunused behavior with bogus numbers --- Test.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Test.hs b/Test.hs index 9673844ca7..eab81cc0a7 100644 --- a/Test.hs +++ b/Test.hs @@ -582,9 +582,9 @@ test_unused env = "git-annex unused/dropunused" ~: intmpclonerepoInDirect env $ @? "dropkey failed" checkunused [sha1annexedfilekey] ("after dropkey --force " ++ Types.Key.key2file annexedfilekey) - git_annex env "dropunused" ["1", "2"] @? "dropunused failed" + git_annex env "dropunused" ["1"] @? "dropunused failed" checkunused [] "after dropunused" - git_annex env "dropunused" ["10", "501"] @? "dropunused failed on bogus numbers" + not <$> git_annex env "dropunused" ["10", "501"] @? "dropunused failed to fail on bogus numbers" where checkunused expectedkeys desc = do