Skip to content

Commit 6851506

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

11 files changed

+164
-169
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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+
external private predicate queryResults(string relation, int row, int column, string data);
8+
9+
query predicate results(string relation, int row, int column, string data) {
10+
queryResults(relation, row, column, data) and
11+
not relation in ["#select", "nodes", "edges"]
12+
}
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)