summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2018-12-25 14:10:19 +0100
committerCarlos Garnacho <carlosg@gnome.org>2018-12-26 12:58:39 +0100
commite3ac14b5674045c6e529a6fb6cfc93f49252d099 (patch)
tree0e4f4d6d3610204c086d49d5f78ce66690422870
parent8433d3869a79e2e7bf2fdcf2952f86cfa6a73d22 (diff)
downloadtracker-e3ac14b5674045c6e529a6fb6cfc93f49252d099.tar.gz
tests: Ensure ordering in property path tests
So we don't implicitly rely on the query/implementation underneath.
-rw-r--r--tests/libtracker-data/property-paths/inverse-path-1.out2
-rw-r--r--tests/libtracker-data/property-paths/inverse-path-1.rq2
-rw-r--r--tests/libtracker-data/property-paths/sequence-path-1.rq2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/libtracker-data/property-paths/inverse-path-1.out b/tests/libtracker-data/property-paths/inverse-path-1.out
index 0a9f74d4f..9f47bc3b5 100644
--- a/tests/libtracker-data/property-paths/inverse-path-1.out
+++ b/tests/libtracker-data/property-paths/inverse-path-1.out
@@ -1,3 +1,3 @@
-"Bob" "Alice"
"Alice" "Bob"
+"Bob" "Alice"
"Fred" "Eve"
diff --git a/tests/libtracker-data/property-paths/inverse-path-1.rq b/tests/libtracker-data/property-paths/inverse-path-1.rq
index 1aaf070ce..6b643dfd7 100644
--- a/tests/libtracker-data/property-paths/inverse-path-1.rq
+++ b/tests/libtracker-data/property-paths/inverse-path-1.rq
@@ -1 +1 @@
-select foaf:name(?a) foaf:name(?b) { ?a ^foaf:knows ?b } \ No newline at end of file
+select foaf:name(?a) foaf:name(?b) { ?a ^foaf:knows ?b } order by foaf:name(?a) foaf:name(?b) \ No newline at end of file
diff --git a/tests/libtracker-data/property-paths/sequence-path-1.rq b/tests/libtracker-data/property-paths/sequence-path-1.rq
index 8900f9d99..a703adf55 100644
--- a/tests/libtracker-data/property-paths/sequence-path-1.rq
+++ b/tests/libtracker-data/property-paths/sequence-path-1.rq
@@ -1 +1 @@
-select foaf:name(?a) foaf:name(?b) { ?a foaf:knows/foaf:knows ?b } \ No newline at end of file
+select foaf:name(?a) foaf:name(?b) { ?a foaf:knows/foaf:knows ?b } order by foaf:name(?a) foaf:name(?b) \ No newline at end of file