Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
qvalentin committed Apr 6, 2024
1 parent ea3b23f commit 260f1bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/handler/references_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func TestRefercesIncludes(t *testing.T) {

expected := []lsp.Location{
{
URI: "file:///home/qv/dev/helm-ls/internal/handler/testfile.yaml",
URI: "file:///tmp/testfile.yaml",
Range: protocol.Range{
Start: protocol.Position{
Line: 0x1, Character: 0x3,
Expand All @@ -34,7 +34,7 @@ func TestRefercesIncludes(t *testing.T) {
},
},
protocol.Location{
URI: "file:///home/qv/dev/helm-ls/internal/handler/testfile.yaml",
URI: "file:///tmp/testfile.yaml",
Range: protocol.Range{
Start: protocol.Position{
Line: 0x2,
Expand All @@ -47,7 +47,7 @@ func TestRefercesIncludes(t *testing.T) {
},
},
protocol.Location{
URI: "file:///home/qv/dev/helm-ls/internal/handler/testfile.yaml",
URI: "file:///tmp/testfile.yaml",
Range: protocol.Range{
Start: protocol.Position{
Line: 0x0,
Expand Down Expand Up @@ -88,7 +88,7 @@ func TestRefercesIncludes(t *testing.T) {
t.Run(tt.desc, func(t *testing.T) {
documents := lsplocal.NewDocumentStore()

path := "testfile.yaml"
path := "/tmp/testfile.yaml"
fileURI := uri.File(path)

d := lsp.DidOpenTextDocumentParams{
Expand Down

0 comments on commit 260f1bf

Please sign in to comment.