Skip to content

Commit ab06c45

Browse files
committed
Python: Make validTest error on empty output again
I accidentially disabled that when introducing the ability to handle more than one OK.
1 parent 621e3f6 commit ab06c45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/test/experimental/dataflow/coverage/validTest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
def check_output(outtext, f):
2-
if all(s == "OK" for s in outtext.splitlines()):
2+
if outtext and all(s == "OK" for s in outtext.splitlines()):
33
pass
44
else:
55
raise RuntimeError("Function failed", outtext, f)

0 commit comments

Comments
 (0)