Skip to content

Commit 63c7c72

Browse files
committed
Increase resiliance of test_malformed_reqs
1 parent 9dd1027 commit 63c7c72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_examples.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1525,7 +1525,7 @@ def test_malformed_reqs() -> None:
15251525
factory = cwltool.factory.Factory()
15261526
with pytest.raises(
15271527
ValidationException,
1528-
match=r".*wc-tool-bad-reqs\.cwl:6:1: If 'requirements' is\s*present\s*then\s*it\s*must\s*be\s*a\s*list.*",
1528+
match=r".*wc-tool-bad-reqs\.cwl:6:1:\s*If\s*'requirements'\s*is\s*present\s*then\s*it\s*must\s*be\s*a\s*list.*",
15291529
):
15301530
factory.make(get_data("tests/wc-tool-bad-reqs.cwl"))
15311531

0 commit comments

Comments
 (0)