From 89559a9012f36969dd8ac2f382d1f3d6afe8f28c Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Sun, 28 Jul 2024 20:31:35 -0300 Subject: [PATCH] Fix tests --- Makefile | 2 +- test/syntax/expected/highlight.res.txt | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 50e7747..a2a7be8 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,3 @@ test-syntax: nvim -l test/test-syntax.lua - git diff --name-only --exit-code -- 'test/syntax/expected/*.res.txt' + git diff --exit-code -- 'test/syntax/expected/*.res.txt' diff --git a/test/syntax/expected/highlight.res.txt b/test/syntax/expected/highlight.res.txt index 29e93cc..33b34b7 100644 --- a/test/syntax/expected/highlight.res.txt +++ b/test/syntax/expected/highlight.res.txt @@ -56,14 +56,14 @@ row = 22, syntax = { { hl_group = "resString", - hl_group_link = "Constant" + hl_group_link = "String" } } }, { col = 19, row = 24, syntax = { { hl_group = "resString", - hl_group_link = "Constant" + hl_group_link = "String" } } }, { col = 8, @@ -77,7 +77,7 @@ row = 29, syntax = { { hl_group = "resString", - hl_group_link = "Constant" + hl_group_link = "String" } } }, { col = 8, @@ -142,7 +142,7 @@ row = 65, syntax = { { hl_group = "resFunction", - hl_group_link = "Identifier" + hl_group_link = "Function" } } }, { col = 11, @@ -156,14 +156,14 @@ row = 71, syntax = { { hl_group = "resModuleOrVariant", - hl_group_link = "Identifier" + hl_group_link = "Function" } } }, { col = 9, row = 74, syntax = { { hl_group = "resPolyVariant", - hl_group_link = "Identifier" + hl_group_link = "Function" } } }, { col = 7,