Skip to content

Commit 89559a9

Browse files
committed
Fix tests
1 parent 2065f4e commit 89559a9

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
test-syntax:
22
nvim -l test/test-syntax.lua
3-
git diff --name-only --exit-code -- 'test/syntax/expected/*.res.txt'
3+
git diff --exit-code -- 'test/syntax/expected/*.res.txt'

test/syntax/expected/highlight.res.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@
5656
row = 22,
5757
syntax = { {
5858
hl_group = "resString",
59-
hl_group_link = "Constant"
59+
hl_group_link = "String"
6060
} }
6161
}, {
6262
col = 19,
6363
row = 24,
6464
syntax = { {
6565
hl_group = "resString",
66-
hl_group_link = "Constant"
66+
hl_group_link = "String"
6767
} }
6868
}, {
6969
col = 8,
@@ -77,7 +77,7 @@
7777
row = 29,
7878
syntax = { {
7979
hl_group = "resString",
80-
hl_group_link = "Constant"
80+
hl_group_link = "String"
8181
} }
8282
}, {
8383
col = 8,
@@ -142,7 +142,7 @@
142142
row = 65,
143143
syntax = { {
144144
hl_group = "resFunction",
145-
hl_group_link = "Identifier"
145+
hl_group_link = "Function"
146146
} }
147147
}, {
148148
col = 11,
@@ -156,14 +156,14 @@
156156
row = 71,
157157
syntax = { {
158158
hl_group = "resModuleOrVariant",
159-
hl_group_link = "Identifier"
159+
hl_group_link = "Function"
160160
} }
161161
}, {
162162
col = 9,
163163
row = 74,
164164
syntax = { {
165165
hl_group = "resPolyVariant",
166-
hl_group_link = "Identifier"
166+
hl_group_link = "Function"
167167
} }
168168
}, {
169169
col = 7,

0 commit comments

Comments
 (0)