mirror of
https://github.com/logseq/logseq.git
synced 2026-04-30 08:56:29 +00:00
fix: query dsl tests
This commit is contained in:
@@ -383,6 +383,7 @@ prop-d:: [[nada]]"}])
|
||||
(is (= (if js/process.env.DB_GRAPH #{"bar" "DONE b1" "DONE b2Z"} #{"foo:: bar" "DONE b1" "DONE b2Z"})
|
||||
(->> (dsl-query (str "(not (and " task-filter " (or [[page 1]] [[page 2]])))"))
|
||||
(keep testable-content)
|
||||
(remove (fn [s] (db/page? (db/get-page s))))
|
||||
set)))
|
||||
|
||||
(is (= #{"DONE b2Z" "LATER b4Z"}
|
||||
|
||||
Reference in New Issue
Block a user