mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
||||
INDEX id: ID,
|
||||
//^ @keyword
|
||||
// ^ @type.builtin
|
||||
// ^ @type.builtin
|
||||
name: String,
|
||||
//^ @property
|
||||
// ^ @type.builtin
|
||||
|
|
@ -97,7 +97,7 @@ QUERY followUser(fromId: ID, toId: ID) =>
|
|||
QUERY createMultipleUsers(names: [String]) =>
|
||||
FOR name IN names {
|
||||
//^ @keyword
|
||||
// ^ @keyword
|
||||
// ^ @keyword
|
||||
user <- AddN<User>({name: name})
|
||||
}
|
||||
RETURN NONE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue