Fix tests with =-and-parentheses errors

This commit is contained in:
Kodi Arfer 2018-02-27 16:21:42 -08:00
parent 6d977ab541
commit 9f0911161d
3 changed files with 6 additions and 6 deletions

View File

@ -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")))

View File

@ -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 <

View File

@ -81,7 +81,7 @@
(deftag + [n]
(+ n 1))
(assert (= #+2 3)))
(assert (= #+ 2 3)))
(defn test-tag-macros-macros []