Skip to content

Commit

Permalink
Update tests to reflect fixes to cache population function
Browse files Browse the repository at this point in the history
  • Loading branch information
jayemar committed Dec 5, 2024
1 parent 005c6af commit c9ad809
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test-obsidian.el
Original file line number Diff line number Diff line change
Expand Up @@ -313,12 +313,12 @@ key4:
(it "1.md using obsidian-backlinks"
(let* ((file (obsidian-file-to-absolute-path "1.md"))
(count (obsidian-test--backlinks-count file)))
(expect count :to-equal 2)))
(expect count :to-equal 3)))

(it "2-sub with spaces and буквы.md using obsidian-backlinks"
(let* ((file (obsidian-file-to-absolute-path "2-sub with spaces and буквы.md"))
(count (obsidian-test--backlinks-count file)))
(expect count :to-equal 7))))
(expect count :to-equal 8))))

(describe "obsidian-backlinks without wiki links"
(before-all (progn
Expand All @@ -332,7 +332,7 @@ key4:
(it "1.md using obsidian-backlinks"
(let* ((file (obsidian-file-to-absolute-path "1.md"))
(count (obsidian-test--backlinks-count file)))
(expect count :to-equal 1)))
(expect count :to-equal 2)))

(it "2-sub with spaces and буквы.md using obsidian-backlinks"
(let* ((file (obsidian-file-to-absolute-path "2-sub with spaces and буквы.md"))
Expand Down

0 comments on commit c9ad809

Please sign in to comment.