Skip to content

Commit

Permalink
CC-834 try using different syntax for match digit patter
Browse files Browse the repository at this point in the history
  • Loading branch information
libmartinito committed Nov 24, 2023
1 parent 27ea1b5 commit 90df976
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/stage_match_digit.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import (
func testMatchDigit(stageHarness *tester_utils.StageHarness) error {
testCases := []TestCase{
{
Pattern: `\d`,
Pattern: "\\d",
Input: "123",
ExpectedExitCode: 0,
},
{
Pattern: `\d`,
Pattern: "\\d",
Input: "apple",
ExpectedExitCode: 1,
},
Expand Down

0 comments on commit 90df976

Please sign in to comment.