Skip to content

Commit

Permalink
Remove obsolete test
Browse files Browse the repository at this point in the history
  • Loading branch information
rlvoyer committed Feb 18, 2022
1 parent 4fa760d commit 9d21e28
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions test/test.el
Original file line number Diff line number Diff line change
Expand Up @@ -163,27 +163,6 @@
(should (equal expected-month actual-month))
(should (equal expected-day actual-day)))))


;; TODO: fix this test
;; (ert-deftest test-make-todo-from-temp-file-line ()
;; "Tests that a TODO can be constructed from a temp file line."
;; (let* ((notes-dir (make-test-notes-dir))
;; (notes-file (make-test-notes-file notes-dir 1))
;; (expected (make-mxtodo-item :file-path notes-file
;; :file-line-number 10
;; :file-display-date-ts (make-ts :year 2021
;; :month 6
;; :day 24
;; :hour 0
;; :minute 0
;; :second 0)
;; :file-last-update (mxtodo--file-last-modified notes-file)
;; :text "write some unit tests"
;; :is-completed t))
;; (actual
;; (mxtodo--make-todo-from-temp-file-line "/Users/robertvoyer/Documents/Notes/2021-6-24.md 10 - [x] write some unit tests 1624637870")))
;; (should (equal expected actual))))

(defun todo-text-no-properties (rendered-todo-item)
"Test rendering RENDERED-TODO-ITEM as a string with no properties."
(substring-no-properties rendered-todo-item 0 (next-single-property-change 0 'invisible rendered-todo-item)))
Expand Down

0 comments on commit 9d21e28

Please sign in to comment.