Skip to content

Commit 0049b8e

Browse files
authored
Merge pull request github#6371 from github/smowton/admin/test-generator-notice-bad-rows
Add test-case generator check for non-parseable rows
2 parents a5f0a4e + 97d603c commit 0049b8e

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)