util🍛 fix test
This commit is contained in:
parent
6498068924
commit
ec21964068
1 changed files with 2 additions and 1 deletions
|
@ -72,7 +72,8 @@
|
||||||
(t:show-result))))
|
(t:show-result))))
|
||||||
|
|
||||||
(deftest test-util ()
|
(deftest test-util ()
|
||||||
(let ((35+ (util:curry #'+ 35)))
|
(let* ((25+ (util:curry #'+ 25))
|
||||||
|
(35+ (util:curry 25+ 10)))
|
||||||
(== (funcall 35+ 7) 42))
|
(== (funcall 35+ 7) 42))
|
||||||
(let ((now (get-universal-time)))
|
(let ((now (get-universal-time)))
|
||||||
(== (util:from-unix-time (util:to-unix-time now)) now))
|
(== (util:from-unix-time (util:to-unix-time now)) now))
|
||||||
|
|
Loading…
Add table
Reference in a new issue