Skip to content

Commit 97d603c

Browse files
committed
Add test-case generator check for non-parseable rows
1 parent a5f0a4e commit 97d603c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

java/ql/src/utils/GenerateFlowTestCase.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ query string getAParseFailure(string reason) {
3737
any(TargetSummaryModelCsv target).row(result) and
3838
any(SummaryModelCsv model).row(result) and
3939
(
40+
not summaryModel(_, _, _, _, _, _, _, _, _, result) and
41+
reason = "row could not be parsed"
42+
or
4043
exists(
4144
string namespace, string type, boolean subtypes, string name, string signature, string ext
4245
|

0 commit comments

Comments
 (0)