Skip to content

Commit

Permalink
Better test Position
Browse files Browse the repository at this point in the history
  • Loading branch information
Feel-ix-343 committed Dec 5, 2023
1 parent 8becbcc commit 35bc12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vault.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ more text

let vault = construct_vault(&root_dir).unwrap();

let position = Position {line: 2, character: 0};
let position = Position {line: 5, character: 2};
let mut path = root_dir.clone();
path.push("A third test.md");
let result = goto_definition(&vault, position, &path);
Expand Down

0 comments on commit 35bc12e

Please sign in to comment.