From b9c5f27db92f978d4fbfafd1ad9e6c14568353b0 Mon Sep 17 00:00:00 2001 From: Yu Zhang Date: Tue, 19 Sep 2023 15:53:34 -0700 Subject: [PATCH] update parser tests. --- .../src/test/scala/filodb/prometheus/parse/ParserSpec.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prometheus/src/test/scala/filodb/prometheus/parse/ParserSpec.scala b/prometheus/src/test/scala/filodb/prometheus/parse/ParserSpec.scala index 5b8b06f265..bd5a205afd 100644 --- a/prometheus/src/test/scala/filodb/prometheus/parse/ParserSpec.scala +++ b/prometheus/src/test/scala/filodb/prometheus/parse/ParserSpec.scala @@ -236,8 +236,11 @@ class ParserSpec extends AnyFunSpec with Matchers { parseSuccessfully("foo[1h5m25s] OFFSET 1h30m20s") parseSuccessfully("foo @1000") + parseSuccessfully("foo @ 1000") parseSuccessfully("foo @start()") + parseSuccessfully("foo @ start()") parseSuccessfully("foo @end()") + parseSuccessfully("foo @ end()") parseSuccessfully("foo[5m] @1000") parseSuccessfully("foo[5m25s] @start()")