Skip to content

Commit 434e265

Browse files
committed
fix: corrected logical operator in non-external-protocol? function
The `or` operator was being used incorrectly, causing all tests to be executed. Changed to `and` to ensure that only non-external protocol tests are executed. Signed-off-by: Avelino <[email protected]>
1 parent 8b1c400 commit 434e265

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/chrondb/run_tests_non_external_protocol.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
(:require [chrondb.test-helpers :as helpers]))
33

44
(defn non-external-protocol? [ns-sym]
5-
(or (not (.contains (str ns-sym) "chrondb.api.redis"))
6-
(not (.contains (str ns-sym) "chrondb.api.sql"))))
5+
(and (not (.contains (str ns-sym) "chrondb.api.redis"))
6+
(not (.contains (str ns-sym) "chrondb.api.sql"))))
77

88
(defn -main [& args]
99
(helpers/run-test-main

0 commit comments

Comments
 (0)