Change: (todo) Don't match done tasks

This commit is contained in:
Adam Porter 2019-08-13 13:57:34 -05:00
parent 31bc01bc52
commit 515b4960c4
3 changed files with 4 additions and 4 deletions

View file

@ -382,10 +382,9 @@ RESULTS should be a list of strings as returned by
(describe "(todo)"
(org-ql-it "without arguments"
;; FIXME: This returns an item that is done, which is incorrect.
(org-ql-expect ((todo)
:sort todo)
'("Take over the universe" "Take over the world" "Skype with president of Antarctica" "Take over Mars" "Visit Mars" "Take over the moon" "Visit the moon" "Practice leaping tall buildings in a single bound" "Renew membership in supervillain club" "Learn universal sign language" "Order a pizza" "Get haircut" "Internet" "Spaceship lease" "Fix flux capacitor" "/r/emacs" "Shop for groceries" "Rewrite Emacs in Common Lisp" "Write a symphony")))
'("Take over the universe" "Take over the world" "Skype with president of Antarctica" "Take over Mars" "Visit Mars" "Take over the moon" "Visit the moon" "Practice leaping tall buildings in a single bound" "Renew membership in supervillain club" "Order a pizza" "Get haircut" "Internet" "Spaceship lease" "Fix flux capacitor" "/r/emacs" "Shop for groceries" "Rewrite Emacs in Common Lisp" "Write a symphony")))
(org-ql-it "with 1 argument"
;; FIXME: Figure out why this takes >10x longer than the other (todo)