Skip to content

Commit

Permalink
Forward conversion applied twice by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Dec 19, 2024
1 parent 54dcc81 commit c9feb26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cabal-testsuite/src/Test/Cabal/Prelude.hs
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ recordMode mode = withReaderT (\env -> env {
assertOutputContainsOn :: MonadIO m => WithCallStack ((String -> String) -> (String -> String) -> (String -> String) -> (String -> String) -> String -> Result -> m ())
assertOutputContainsOn unN n unO o (n -> needle) (o . resultOutput -> output) =
withFrozenCallStack $
unless (n needle `isInfixOf` output) $
unless (needle `isInfixOf` output) $
assertFailure $ "expected:\n" ++ unN needle ++
"\nin output:\n" ++ unO output

Expand Down

0 comments on commit c9feb26

Please sign in to comment.