diff --git a/test/datascript/test/query_or.cljc b/test/datascript/test/query_or.cljc index 0dc30197..ef32c4d3 100644 --- a/test/datascript/test/query_or.cljc +++ b/test/datascript/test/query_or.cljc @@ -157,4 +157,10 @@ (d/q '[:find ?e :where (or-join [[?e]] [?e :name "Ivan"])] - @test-db)))) \ No newline at end of file + @test-db))) + + (is (thrown-msg? "???" + (d/q '[:find ?e + :where + [(or ?e 1)]] + @test-db))))