summaryrefslogtreecommitdiff
path: root/Test.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Test.hs')
-rw-r--r--Test.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test.hs b/Test.hs
index 0ab7bf130..7174d6523 100644
--- a/Test.hs
+++ b/Test.hs
@@ -366,8 +366,8 @@ test_import = intmpclonerepo $ Utility.Tmp.withTmpDir "importtest" $ \importdir
git_annex "drop" ["--force", imported1, imported2, imported5] @? "drop failed"
annexed_notpresent_imported imported2
(toimportdup, importfdup, importeddup) <- mktoimport importdir "importdup"
- git_annex "import" ["--clean-duplicates", toimportdup]
- @? "import of missing duplicate with --clean-duplicates failed"
+ not <$> git_annex "import" ["--clean-duplicates", toimportdup]
+ @? "import of missing duplicate with --clean-duplicates failed to fail"
checkdoesnotexist importeddup
checkexists importfdup
where