aboutsummaryrefslogtreecommitdiff
path: root/tests/analyser_query_test.ml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/analyser_query_test.ml')
-rw-r--r--tests/analyser_query_test.ml4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/analyser_query_test.ml b/tests/analyser_query_test.ml
index c4ab6d8..16a9bca 100644
--- a/tests/analyser_query_test.ml
+++ b/tests/analyser_query_test.ml
@@ -166,7 +166,9 @@ let sum_unfiltered =
let query, _ = ImportAnalyser.Query.select conf in
let expected_query =
- "SELECT SUM('previous'.'col_5') AS result_0\nFROM 'source' AS 'previous'"
+ "SELECT SUM('previous'.'col_5') OVER (ORDER BY 'previous'.'col_1') AS \
+ result_0\n\
+ FROM 'source' AS 'previous'"
in
Alcotest.check Alcotest.string "" expected_query query.q