mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
fix(linter/eslint): Fix invalid regexp in no_regex_spaces test (#4605)
The same as #4544 
This commit is contained in:
parent
a40a217de4
commit
a6647153be
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ fn test() {
|
|||
"var foo = RegExp(' [ ] [ ] ');",
|
||||
r"var foo = new RegExp(' \[ ');",
|
||||
r"var foo = new RegExp(' \[ \] ');",
|
||||
r"var foo = /[\\q{ }]/v;",
|
||||
"var foo = /[\\q{ }]/v;",
|
||||
"var foo = new RegExp('[ ');",
|
||||
"new RegExp('[[abc] ]', flags + 'v')",
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue