Skip to content

Commit cf92b0e

Browse files
committed
Go: convert IncorrectIntegerConversion test to .qlref
1 parent 76a3306 commit cf92b0e

11 files changed

+167
-169
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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+
6+
/**
7+
* The input test results: query predicate `relation` contains `data` at (`row`, `column`).
8+
*/
9+
external private predicate queryResults(string relation, int row, int column, string data);
10+
11+
/** Holds if the test output's query predicate `relation` contains `data` at (`row`, `column`). */
12+
query predicate results(string relation, int row, int column, string data) {
13+
queryResults(relation, row, column, data) and
14+
not relation in ["#select", "nodes", "edges"]
15+
}
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)