summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2022-08-02 23:47:42 +0200
committerCarlos Garnacho <carlosg@gnome.org>2022-08-30 17:16:49 +0200
commite48b3e0bb6f7d826e8e7e0d4a20b97d4f8db12c3 (patch)
tree617c2df4a47cddebfaf3d200944a745499199a5e /tests
parent0f1071dea1025b4a5b2f8fd340abfa501258f84e (diff)
downloadtracker-e48b3e0bb6f7d826e8e7e0d4a20b97d4f8db12c3.tar.gz
libtracker-sparql/core: Set nrl:modified/added consistently
For nrl:modified, we had some double handling since the modifier was pushed as a property change, but also dealt with directly when flushing the buffer. Since these are essentially properties (even though changed automatically), it makes sense to stick to the former, also for nrl:added. Do that, and drop the special handling of these 2 properties when flushing the buffer. This commit also changes the expected output of a serialization test, since nrl:added is added now on more graphs than the first one that sees a resource, this slightly changes the spacing after filtering the test filters nrl:added/nrl:modified.
Diffstat (limited to 'tests')
-rw-r--r--tests/libtracker-sparql/serialize/describe-graph-trig.out1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/libtracker-sparql/serialize/describe-graph-trig.out b/tests/libtracker-sparql/serialize/describe-graph-trig.out
index 07165da63..34c832c29 100644
--- a/tests/libtracker-sparql/serialize/describe-graph-trig.out
+++ b/tests/libtracker-sparql/serialize/describe-graph-trig.out
@@ -33,7 +33,6 @@ GRAPH <A> {
}
GRAPH <B> {
-
}
GRAPH <A> {