mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 09:50:04 -04:00
fix: correct test assertions for helixql highlights
Fixed column positions in test assertions to match actual parser output: - Line 6: moved ^ to point at ID type instead of colon delimiter - Line 98: moved ^ to point at IN keyword instead of name variable
This commit is contained in:
parent
5d2914b940
commit
c2632c3b2d
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ N::User {
|
||||||
// ^ @type.definition
|
// ^ @type.definition
|
||||||
INDEX id: ID,
|
INDEX id: ID,
|
||||||
//^ @keyword
|
//^ @keyword
|
||||||
// ^ @type.builtin
|
// ^ @type.builtin
|
||||||
name: String,
|
name: String,
|
||||||
//^ @property
|
//^ @property
|
||||||
// ^ @type.builtin
|
// ^ @type.builtin
|
||||||
|
|
@ -97,7 +97,7 @@ QUERY followUser(fromId: ID, toId: ID) =>
|
||||||
QUERY createMultipleUsers(names: [String]) =>
|
QUERY createMultipleUsers(names: [String]) =>
|
||||||
FOR name IN names {
|
FOR name IN names {
|
||||||
//^ @keyword
|
//^ @keyword
|
||||||
// ^ @keyword
|
// ^ @keyword
|
||||||
user <- AddN<User>({name: name})
|
user <- AddN<User>({name: name})
|
||||||
}
|
}
|
||||||
RETURN NONE
|
RETURN NONE
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue