File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ tests =
5252 -- 1. Contains the exit code prefix (base message intact)
5353 assertBool (" Expected exit code prefix, got: " <> T. unpack msg)
5454 (" failed with exit code" `T.isInfixOf` msg)
55- -- 2. Contains stderr parse error details
55+ -- 2. Contains a stable parse- error phrase from formatter stderr
5656 assertBool (" Expected parse error details from stderr, got: " <> T. unpack msg)
57- (" parse error" `T.isInfixOf` msg)
57+ (" parse error on input " `T.isInfixOf` msg)
5858 Right _ ->
5959 assertFailure " Expected formatting to fail on unparsable file"
6060 ]
Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ tests = testGroup "ormolu" $
5252 -- 1. Contains the exit code prefix (base message intact)
5353 assertBool (" Expected exit code prefix, got: " <> T. unpack msg)
5454 (" failed with exit code" `T.isInfixOf` msg)
55- -- 2. Contains stderr parse error details
55+ -- 2. Contains a stable parse- error phrase from formatter stderr
5656 assertBool (" Expected parse error details from stderr, got: " <> T. unpack msg)
57- (" parse error" `T.isInfixOf` msg)
57+ (" parse error on input " `T.isInfixOf` msg)
5858 Right _ ->
5959 assertFailure " Expected formatting to fail on unparsable file"
6060 ]
You can’t perform that action at this time.
0 commit comments