diff --git a/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/Chrome.test.stg b/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/Chrome.test.stg index f4a42e5a5..7b4729eb5 100644 --- a/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/Chrome.test.stg +++ b/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/Chrome.test.stg @@ -74,7 +74,7 @@ LANotEquals(i, v) ::= <%this._input.LA()!=%> TokenStartColumnEquals(i) ::= <%this._tokenStartColumn===%> -ImportListener(X) ::= <Listener = require('./Listener').Listener;>> +ImportListener(X) ::= "" GetExpectedTokenNames() ::= "this.getExpectedTokens().toString(this.literalNames)" diff --git a/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/Firefox.test.stg b/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/Firefox.test.stg index c19473f5e..3882eb059 100644 --- a/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/Firefox.test.stg +++ b/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/Firefox.test.stg @@ -76,11 +76,7 @@ LANotEquals(i, v) ::= <%this._input.LA()!=%> TokenStartColumnEquals(i) ::= <%this._tokenStartColumn===%> -ImportListener(X) ::= << -@parser::header { -var Listener = require('./Listener').Listener; -} ->> +ImportListener(X) ::= "" GetExpectedTokenNames() ::= "this.getExpectedTokens().toString(this.literalNames)" diff --git a/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/Node.test.stg b/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/Node.test.stg index 36c4e9c49..709f13e39 100644 --- a/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/Node.test.stg +++ b/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/Node.test.stg @@ -74,11 +74,7 @@ LANotEquals(i, v) ::= <%this._input.LA()!=%> TokenStartColumnEquals(i) ::= <%this._tokenStartColumn===%> -ImportListener(X) ::= << -@parser::header { -var Listener = require('./Listener').Listener; -} ->> +ImportListener(X) ::= "" GetExpectedTokenNames() ::= "this.getExpectedTokens().toString(this.literalNames)" diff --git a/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/Safari.test.stg b/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/Safari.test.stg index e84ff373d..a33f612d3 100644 --- a/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/Safari.test.stg +++ b/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/Safari.test.stg @@ -74,11 +74,7 @@ LANotEquals(i, v) ::= <%this._input.LA()!=%> TokenStartColumnEquals(i) ::= <%this._tokenStartColumn===%> -ImportListener(X) ::= << -@parser::header { -var Listener = require('./Listener').Listener; -} ->> +ImportListener(X) ::= "" GetExpectedTokenNames() ::= "this.getExpectedTokens().toString(this.literalNames)"