Temporarily disable `JavaScriptTests >> #testNew04` jv
authorJan Vrany <jan.vrany@labware.com>
Wed, 30 Jun 2021 13:45:31 +0100
branchjv
changeset 2600 2b0346a924e6
parent 2599 d0679511ef19
child 2601 9827a9a16098
Temporarily disable `JavaScriptTests >> #testNew04` ...because there's a bug in eXept's JavaScriptParser >> #newExpression: pos1 := tokenPosition. pos2 := pos1+classOrFunc size-1. ... classExpr startPosition:pos1 endPosition:pos2. The `pos2` value is completely bogus and causing an assertion failure in ParseNode >> #startPosition:endPosition: Hence we disabled this test for now.
RegressionTests__JavaScriptTests.st
--- a/RegressionTests__JavaScriptTests.st	Wed Jun 30 13:42:15 2021 +0100
+++ b/RegressionTests__JavaScriptTests.st	Wed Jun 30 13:45:31 2021 +0100
@@ -1760,6 +1760,20 @@
 testNew04
     |plug|
 
+    "/ Temporarily disable this test because there's a bug in
+    "/ eXept's JavaScriptParser >> #newExpression:
+    "/
+    "/     pos1 := tokenPosition.
+    "/     pos2 := pos1+classOrFunc size-1.
+    "/     ...
+    "/     classExpr startPosition:pos1 endPosition:pos2.
+    "/
+    "/ The `pos2` value is completely bogus and causing an assertion failure
+    "/ in ParseNode >> #startPosition:endPosition:
+    "/
+    "/ Hence we disabled this test for now.
+    self skipIf: true description: 'Known bug in JavaScriptParser >> #newExpression'.
+
     plug := Plug new.
     plug respondTo:#arr with:[ Array ].