From cd07e35b4d6d9c37e45cbec01bdb7f998c3c368f Mon Sep 17 00:00:00 2001 From: Yuji Sugiura Date: Tue, 6 Aug 2024 18:25:15 +0900 Subject: [PATCH] chore(module_lexer): Fix invalid regex in test --- crates/oxc_module_lexer/tests/esm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxc_module_lexer/tests/esm.rs b/crates/oxc_module_lexer/tests/esm.rs index 255e83da832b3..f84389e122fa3 100644 --- a/crates/oxc_module_lexer/tests/esm.rs +++ b/crates/oxc_module_lexer/tests/esm.rs @@ -785,7 +785,7 @@ fn bracket_matching() { #[test] fn division_regex_ambiguity() { let source = r" - /as)df/; x(); + /asdf/; x(); a / 2; ' / ' while (true) /test'/