Skip to content

Commit

Permalink
Add regexp value test
Browse files Browse the repository at this point in the history
  • Loading branch information
LakshanWeerasinghe committed Jul 3, 2023
1 parent 091b646 commit 93b4834
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ function testRegExpValueWithCharacterClass() {

string:RegExp x9 = re `abc\[a-z\]A-Z${"abc"}`;
assertEquality("abc\\[a-z\\]A-Zabc", x9.toString());

string:RegExp x10 = re `\[${"a"}\]`;
assertEquality("\\[a\\]", x10.toString());
}

function testRegExpValueWithCharacterClass2() {
Expand Down

0 comments on commit 93b4834

Please sign in to comment.