Skip to content

Commit 41425f3

Browse files
mpickeringMikolaj
authored andcommitted
Fix typo in shouldDirectoryNotExist
1 parent 409208f commit 41425f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cabal-testsuite/src/Test/Cabal/Prelude.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ shouldDirectoryExist path =
785785
shouldDirectoryNotExist :: MonadIO m => WithCallStack (FilePath -> m ())
786786
shouldDirectoryNotExist path =
787787
withFrozenCallStack $
788-
liftIO $ doesDirectoryExist path >>= assertBool (path ++ " should exist") . not
788+
liftIO $ doesDirectoryExist path >>= assertBool (path ++ " should not exist") . not
789789

790790
assertRegex :: MonadIO m => String -> String -> Result -> m ()
791791
assertRegex msg regex r =

0 commit comments

Comments
 (0)