diff --git a/internal/stage_match_digit.go b/internal/stage_match_digit.go index a531e74..e6a5625 100644 --- a/internal/stage_match_digit.go +++ b/internal/stage_match_digit.go @@ -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, },