We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54bf5d0 commit 4c8aeaaCopy full SHA for 4c8aeaa
tests/native_tests/keywords.hy
@@ -6,9 +6,11 @@
6
7
(defn test-keyword []
8
(assert (= :foo :foo))
9
+ (assert (not (!= :foo :foo)))
10
+ (assert (!= :foo :bar))
11
(assert (= :foo ':foo))
12
(setv x :foo)
- (assert (is (type x) (type ':foo)))
13
+ (assert (is (type x) (type ':foo) hy.models.Keyword))
14
(assert (= (get {:foo "bar"} :foo) "bar"))
15
(assert (= (get {:bar "quux"} (get {:foo :bar} :foo)) "quux")))
16
0 commit comments