Skip to content

Commit

Permalink
Fix error output normalization for Just 1.17.*
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrieb committed Dec 21, 2023
1 parent bd5fd61 commit 6a33f21
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,10 @@ def test_evalute_without_quoting() -> None:
(re.compile(rb"tmp\.[a-zA-Z0-9]+"), rb"tmp"),
(re.compile(rb"\d{1,2}:\d{1,2}"), rb"12:00"), # Normalize times
(re.compile(rb"\nDid you mean[^\n]*"), rb""),
(re.compile(rb"\s*\|[^\n]*\n\s*\d*?\s*\|[^\n]*\n\s*\|[^\n]*"), rb""),
(
re.compile(rb"(\s*-->[^\n]*\n)?\s*\|[^\n]*\n\s*\d*?\s*\|[^\n]*\n\s*\|[^\n]*"),
rb"",
),
]


Expand Down

0 comments on commit 6a33f21

Please sign in to comment.