diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2022-11-21 12:28:25 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2022-11-21 13:56:40 +0100 |
commit | 23e8e433c90c54f5cd08fe43ee6c11e3d1817b51 (patch) | |
tree | de83c2d0d7b7d2ea7cc23a6925a4f2b9b76c114d /tests | |
parent | 22af7e738538d68de8cb681b61532b3a4441e3b7 (diff) | |
download | tracker-23e8e433c90c54f5cd08fe43ee6c11e3d1817b51.tar.gz |
tests: Make FILTER expression tests use absolute IRIs
Do not rely on our loose interpretation of IRIs to make tests work.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/core/expr-ops/data.ttl | 6 | ||||
-rw-r--r-- | tests/core/expr-ops/query-res-1.out | 2 | ||||
-rwxr-xr-x | tests/core/expr-ops/query-res-1.rq | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/core/expr-ops/data.ttl b/tests/core/expr-ops/data.ttl index b4e082dbe..ef063a957 100644 --- a/tests/core/expr-ops/data.ttl +++ b/tests/core/expr-ops/data.ttl @@ -11,7 +11,7 @@ :x3 :p "3"^^xsd:integer . :x4 :p "4"^^xsd:integer . -<a> a :B . -<b> a :B . -<c> a :B . +<http://example.org/a> a :B . +<http://example.org/b> a :B . +<http://example.org/c> a :B . diff --git a/tests/core/expr-ops/query-res-1.out b/tests/core/expr-ops/query-res-1.out index cdf158597..0c8479943 100644 --- a/tests/core/expr-ops/query-res-1.out +++ b/tests/core/expr-ops/query-res-1.out @@ -1 +1 @@ -"c" +"http://example.org/c" diff --git a/tests/core/expr-ops/query-res-1.rq b/tests/core/expr-ops/query-res-1.rq index 8456b7e9e..ae94e55b4 100755 --- a/tests/core/expr-ops/query-res-1.rq +++ b/tests/core/expr-ops/query-res-1.rq @@ -1,5 +1,5 @@ PREFIX : <http://example.org/> SELECT ?s WHERE { ?s a :B . - FILTER((!(?s = <a> || ?s = <b> || ?s = <unknown>))) . + FILTER((!(?s = <http://example.org/a> || ?s = <http://example.org/b> || ?s = <unknown>))) . } |