Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
index: fix the string literal in the extra-spaces test
  • Loading branch information
askalf committed Sep 18, 2026
commit 4822a68179fd400230702365b1feb20561249938
3 changes: 1 addition & 2 deletions plugs/index/snippet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@ test("extractSnippet leaves an already-referenced task alone behind extra spaces
const text = `* Parent [[Target]]
* [ ] [[test@40]] Already referenced`;
expect(extractSnippet("test", text, text.indexOf("* Parent"))).toEqual(
"* Parent [[Target]]
* [ ] [[test@40]] Already referenced",
"* Parent [[Target]]\n * [ ] [[test@40]] Already referenced",
);
});

Expand Down
Loading