From 634f088a0ef62f62957f3598e0e784d8a34fac68 Mon Sep 17 00:00:00 2001 From: Bram Buitendijk Date: Wed, 13 Sep 2023 10:36:52 +0200 Subject: [PATCH] fix test --- .../annorepo/resources/tools/AggregateStageGeneratorTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/test/kotlin/nl/knaw/huc/annorepo/resources/tools/AggregateStageGeneratorTest.kt b/server/src/test/kotlin/nl/knaw/huc/annorepo/resources/tools/AggregateStageGeneratorTest.kt index 5f007646..123581c0 100644 --- a/server/src/test/kotlin/nl/knaw/huc/annorepo/resources/tools/AggregateStageGeneratorTest.kt +++ b/server/src/test/kotlin/nl/knaw/huc/annorepo/resources/tools/AggregateStageGeneratorTest.kt @@ -290,8 +290,8 @@ class AggregateStageGeneratorTest { "@and": [ { "annotation.target.source": "$source"}, { "annotation.target.selector.type": "$selector"}, - { "annotation.target.selector.start": { "@lt": ${end.toFloat()} } }, - { "annotation.target.selector.end": { "@gt": ${start.toFloat()} } } + { "annotation.target.selector.start": { "@lte": ${end.toFloat()} } }, + { "annotation.target.selector.end": { "@gte": ${start.toFloat()} } } ] } }""".trimIndent().replace('@', '$')