Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
rlvoyer committed Feb 18, 2024
1 parent d628584 commit 4120ed3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/test.el
Original file line number Diff line number Diff line change
Expand Up @@ -317,13 +317,11 @@
(let* ((notes-dir (make-test-notes-dir))
(notes-file (make-test-notes-file notes-dir 1))
(todos (read-test-notes-file notes-file))
(_ (set-file-times notes-file))
(todo (car todos))
(expected nil)
(actual (mxtodo--todo-is-fresh-p todo)))
(expected nil))
(progn
(set-file-times notes-file)
(should (equal expected actual)))))
(should (equal expected (mxtodo--todo-is-fresh-p todo))))))

(ert-deftest test-creating-a-daily-notefile ()
(let* ((notes-dir (make-test-notes-dir))
Expand Down

0 comments on commit 4120ed3

Please sign in to comment.