From 47d7eb531f80ad461b239b687c7c19f04c6879ce Mon Sep 17 00:00:00 2001 From: Yitz Gale Date: Wed, 3 Jan 2024 18:49:42 +0200 Subject: [PATCH] Fix output of escapedMalformed1 test --- tests/UnitTests.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/UnitTests.hs b/tests/UnitTests.hs index 2bf35fa..d44159c 100644 --- a/tests/UnitTests.hs +++ b/tests/UnitTests.hs @@ -224,7 +224,7 @@ positionalTests = testCase "escaped" $ "\"x,y\",z\nbaz,\"bar\nfoo,\"" `decodesAs` [["x,y", "z"], ["baz", "bar\nfoo,"]], testCase "escapedMalformed1" $ - "\"x,\"y" `decodeFailsWith` "endOfInput", + "\"x,\"y" `decodeFailsWith` "Failed reading: satisfy" testCase "escapedMalformed0" $ "baz,\"" `decodeFailsWith` "Failed reading: trailing double quote" ]