diff --git a/tests/test_preprocessors.py b/tests/test_preprocessors.py index cb577de..d319ad5 100644 --- a/tests/test_preprocessors.py +++ b/tests/test_preprocessors.py @@ -49,7 +49,8 @@ def test_Backticks(s: str): assert res == "", (repr(s), repr(res)) -@given(st.from_regex(Codeblock.pattern, fullmatch=True)) +@given(st.from_regex(r"```(?:(?!`).+?)```", fullmatch=True)) +@example("""```0```""") @example( """``` ```"""