Fix test on Win

This commit is contained in:
Ivan Kravets
2022-02-19 21:10:57 +02:00
parent e49fb9f0d0
commit 54c18ae0c6

View File

@ -55,6 +55,6 @@ def test_unrecognized_options(
)
with pytest.raises(
AssertionError,
match=("openocd: unrecognized option"),
match=(r"openocd: (unrecognized|unknown) option"),
):
validate_cliresult(result)