Skip to content

Commit

Permalink
fix order
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot authored and ptomato committed Aug 9, 2022
1 parent 418419a commit adba7df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/built-ins/RegExp/named-groups/duplicate-names.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ assert.compareArray(["aabb", undefined, "bb"], matchResult);
assert.sameValue(matchResult.groups.x, "bb");

let notMatched = "abab".match(/(?:(?:(?<x>a)|(?<x>b))\k<x>){2}/);
assert.sameValue(null, notMatched);
assert.sameValue(notMatched, null);

0 comments on commit adba7df

Please sign in to comment.