Skip to content

Commit

Permalink
feat(definition): fix tests for variable defintion
Browse files Browse the repository at this point in the history
  • Loading branch information
qvalentin committed Jun 29, 2024
1 parent 73cc7bd commit dc52f55
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions internal/handler/definition_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,8 @@ func TestDefinitionVariable(t *testing.T) {
{
URI: testDocumentTemplateURI,
Range: lsp.Range{
Start: lsp.Position{Line: 1, Character: 22},
End: lsp.Position{
Line: 14,
Character: 0,
},
Start: lsp.Position{Line: 1, Character: 3},
End: lsp.Position{Line: 1, Character: 22},
},
},
}, nil)
Expand All @@ -128,10 +125,8 @@ func TestDefinitionRange(t *testing.T) {
{
URI: testDocumentTemplateURI,
Range: lsp.Range{
Start: lsp.Position{
Line: 7,
Character: 17,
},
Start: lsp.Position{Line: 7, Character: 17},
End: lsp.Position{Line: 7, Character: 37},
},
},
}, nil)
Expand Down

0 comments on commit dc52f55

Please sign in to comment.