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