summary refs log tree commit diff stats
path: root/tests/js/tnativeexc.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/js/tnativeexc.nim')
-rw-r--r--tests/js/tnativeexc.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/js/tnativeexc.nim b/tests/js/tnativeexc.nim
index ea371c1cd..8b2b43e8f 100644
--- a/tests/js/tnativeexc.nim
+++ b/tests/js/tnativeexc.nim
@@ -18,7 +18,7 @@ try:
 except JsEvalError:
   doAssert false
 except JsSyntaxError as se:
-  doAssert se.message == "Unexpected token ; in JSON at position 0"
+  doAssert se.message == "Unexpected token ';', \";;\" is not valid JSON"
 except JsError as e:
   doAssert false