Skip to content

Commit 87c7052

Browse files
committed
Go: convert IncorrectIntegerConversion test to .qlref
1 parent c62e78e commit 87c7052

11 files changed

Lines changed: 168 additions & 169 deletions
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* @kind test-postprocess
3+
* @description Remove the query predicates that differ based on 32/64-bit architecture. This should leave behind `invalidModelRowAdd` and `testFailures` in case of test failures.
4+
*/
5+
module;
6+
7+
/**
8+
* The input test results: query predicate `relation` contains `data` at (`row`, `column`).
9+
*/
10+
external private predicate queryResults(string relation, int row, int column, string data);
11+
12+
/** The output test results. */
13+
query predicate results(string relation, int row, int column, string data) {
14+
queryResults(relation, row, column, data) and
15+
not relation in ["#select", "nodes", "edges"]
16+
}
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
invalidModelRow
2-
testFailures

0 commit comments

Comments
 (0)