Fix nested boolean case - close #4510

This commit is contained in:
Gabriel Horner
2022-03-10 11:41:01 -05:00
committed by Tienson Qin
parent e959e257b7
commit 3a19687988
2 changed files with 8 additions and 7 deletions

View File

@@ -162,7 +162,13 @@ prop-d:: nada"}])
(map
:block/name
(dsl-query "(and (page-property parent [[child page 2]]) (not (page-property foo bar)))")))
"Page property queries NOTed"))
"Page property queries nested NOT in second clause")
(is (= ["page4"]
(map
:block/name
(dsl-query "(and (not (page-property foo bar)) (page-property parent [[child page 2]]))")))
"Page property queries nested NOT in first clause"))
(deftest task-queries
(load-test-files [{:file/path "pages/page1.md"