Skip to content

Commit

Permalink
Fix testing struct FindSYmbol declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
pherrymason committed Jan 13, 2024
1 parent ffa118a commit 33d5c16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/lsp/language_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ func TestLanguage_FindSymbolDeclarationInWorkspace_symbol_same_scope(t *testing.
"MyStructure",
0, 47,
createStruct("x", "MyStructure", []idx.StructMember{
idx.NewStructMember("enabled", "bool", idx.NewRange(0, 2, 0, 12)),
idx.NewStructMember("key", "char", idx.NewRange(0, 2, 0, 12)),
idx.NewStructMember("enabled", "bool", idx.NewRange(0, 20, 0, 33)),
idx.NewStructMember("key", "char", idx.NewRange(0, 34, 0, 43)),
},
idx.NewRange(0, 7, 0, 18)),
},
Expand Down

0 comments on commit 33d5c16

Please sign in to comment.