Skip to content

Commit

Permalink
fix scalatest failures
Browse files Browse the repository at this point in the history
Signed-off-by: Navin Kumar <navink@nvidia.com>
  • Loading branch information
NVnavkumar committed Sep 18, 2023
1 parent 5f2f87b commit 241b79e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class RegularExpressionParserSuite extends AnyFunSuite {
test("not a quantifier") {
assert(parse("{1}") ===
RegexSequence(ListBuffer(
RegexChar('{'), RegexChar('1'),RegexChar('}'))))
RegexChar('{'), RegexChar('1'),RegexEscaped('}'))))
}

test("nested repetition") {
Expand Down Expand Up @@ -109,7 +109,7 @@ class RegularExpressionParserSuite extends AnyFunSuite {
assert(parse("[a]]") ===
RegexSequence(ListBuffer(
RegexCharacterClass(negated = false,
ListBuffer(RegexChar('a'))), RegexChar(']'))))
ListBuffer(RegexChar('a'))), RegexEscaped(']'))))
}

test("escaped brackets") {
Expand Down

0 comments on commit 241b79e

Please sign in to comment.