mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-08-16 11:30:26 +03:00
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.
This commit is contained in:
parent
5573f0a666
commit
de511c2f6f
@ -1357,7 +1357,7 @@ Problem with the given value:
|
|||||||
|
|
||||||
"not JSON"
|
"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
|
extractMismatchTest : Test
|
||||||
|
Loading…
Reference in New Issue
Block a user