Fix tests with =
-and-parentheses errors
This commit is contained in:
parent
6d977ab541
commit
9f0911161d
@ -1815,5 +1815,5 @@ macros()
|
|||||||
|
|
||||||
(defn test-relative-import []
|
(defn test-relative-import []
|
||||||
"Make sure relative imports work properly"
|
"Make sure relative imports work properly"
|
||||||
(import [..resources [tlib]]))
|
(import [..resources [tlib]])
|
||||||
(assert (= (tlib.*secret-message* "Hello World")))
|
(assert (= tlib.*secret-message* "Hello World")))
|
||||||
|
@ -154,9 +154,9 @@
|
|||||||
|
|
||||||
(op-and-shadow-test ~
|
(op-and-shadow-test ~
|
||||||
(forbid (f))
|
(forbid (f))
|
||||||
(assert (= (f (chr 0b00101111)
|
(assert (= (& (f 0b00101111) 0xFF)
|
||||||
(chr 0b11010000))))
|
0b11010000))
|
||||||
(forbid (f (chr 0b00101111) (chr 0b11010000))))
|
(forbid (f 0b00101111 0b11010000)))
|
||||||
|
|
||||||
|
|
||||||
(op-and-shadow-test <
|
(op-and-shadow-test <
|
||||||
|
@ -81,7 +81,7 @@
|
|||||||
(deftag + [n]
|
(deftag + [n]
|
||||||
(+ n 1))
|
(+ n 1))
|
||||||
|
|
||||||
(assert (= #+2 3)))
|
(assert (= #+ 2 3)))
|
||||||
|
|
||||||
|
|
||||||
(defn test-tag-macros-macros []
|
(defn test-tag-macros-macros []
|
||||||
|
Loading…
Reference in New Issue
Block a user