From de511c2f6fa23c0bfe4ff90e7a81c0e74e0990ea Mon Sep 17 00:00:00 2001 From: Jeroen Engels Date: Tue, 9 Apr 2024 20:15:24 +0200 Subject: [PATCH] Fix test around JSON decoding error message Between Node.js v18 and v20, the error message when failing to decode JSON has been changed to be more helpful. This failed the test suite because the error message was still made for v18 environments. Henceforth tests for this project should be run on v20+ versions of Node.js. --- tests/Review/Test/FailureMessageTest.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Review/Test/FailureMessageTest.elm b/tests/Review/Test/FailureMessageTest.elm index 15282224..bb8512e9 100644 --- a/tests/Review/Test/FailureMessageTest.elm +++ b/tests/Review/Test/FailureMessageTest.elm @@ -1357,7 +1357,7 @@ Problem with the given value: "not JSON" -This is not valid JSON! Unexpected token o in JSON at position 1""" +This is not valid JSON! Unexpected token 'o', "not JSON" is not valid JSON""" extractMismatchTest : Test