From 3b38ac4fb86cc0f7a7a6e5f961435c83ee1f5684 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 16 Jun 2023 00:55:59 +0300 Subject: [PATCH] queries: fixup highlight tests --- test/highlight/connection.d2 | 6 +++--- test/highlight/grid.d2 | 2 +- test/highlight/shape.d2 | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test/highlight/connection.d2 b/test/highlight/connection.d2 index 8551999..767b337 100644 --- a/test/highlight/connection.d2 +++ b/test/highlight/connection.d2 @@ -22,11 +22,11 @@ a <---> b # ^ operator a.b.c --> d.e -# <- constant -# ^ constant +# <- string.special +# ^ string.special # ^ variable # ^ operator -# ^ constant +# ^ string.special # ^ variable diff --git a/test/highlight/grid.d2 b/test/highlight/grid.d2 index 7daaa7a..748d95f 100644 --- a/test/highlight/grid.d2 +++ b/test/highlight/grid.d2 @@ -25,7 +25,7 @@ header # <- variable body: "" { - # <- constant + # <- string.special # ^ punctuation.delimiter # ^ string # ^ punctuation.bracket diff --git a/test/highlight/shape.d2 b/test/highlight/shape.d2 index d74ba02..06576c7 100644 --- a/test/highlight/shape.d2 +++ b/test/highlight/shape.d2 @@ -1,5 +1,5 @@ foo.'baz'.biz -# <- constant +# <- string.special # ^ punctuation.delimiter # ^ string # ^ string @@ -26,12 +26,12 @@ foo: Foo Bar # ^ text.title foo: Foo Bar { - # <- constant + # <- string.special # ^ text.title # ^ punctuation.bracket bar.baz - # <- constant + # <- string.special # ^ variable } # <- punctuation.bracket