Skip to content

Commit

Permalink
Allow graal-js error message in es-module/test-disable-require-module…
Browse files Browse the repository at this point in the history
…-with-detection.
  • Loading branch information
iamstolis committed Jan 20, 2025
1 parent 1220ed5 commit 5220742
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ assert.throws(
() => require('../fixtures/es-modules/loose.js'),
{
name: 'SyntaxError',
message: /Unexpected token 'export'/
message: /Unexpected token 'export'|Expected an operand but found export/
});

0 comments on commit 5220742

Please sign in to comment.