Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
raskad committed Jan 29, 2024
1 parent 041ecce commit 175ae89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/engine/src/builtins/regexp/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ fn no_panic_on_parse_fail() {
TestAction::assert_native_error(
r"var re = /]/u;",
JsNativeErrorKind::Syntax,
"Invalid regular expression literal: Unbalanced bracket at line 1, col 10",
"Invalid regular expression literal: Invalid atom character at line 1, col 10",
),
TestAction::assert_native_error(
r"var re = /a{/u;",
Expand Down

0 comments on commit 175ae89

Please sign in to comment.