Skip to content

Commit

Permalink
Fix regex test
Browse files Browse the repository at this point in the history
  • Loading branch information
raskad committed Jan 18, 2022
1 parent 2ff513e commit db3c8c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa/src/syntax/lexer/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ fn regex_literal_flags() {

let expected = [TokenKind::regular_expression_literal(
interner.get_or_intern_static("\\/[^\\/]*\\/*"),
interner.get_or_intern_static("gmi"),
interner.get_or_intern_static("gim"),
)];

expect_tokens(&mut lexer, &expected, &mut interner);
Expand Down

0 comments on commit db3c8c6

Please sign in to comment.