Skip to content

Commit b086427

Browse files
committed
unit? negative test
1 parent 09e320d commit b086427

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/java_time_test.clj

+1
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,7 @@
629629
(j/unit (j/duration) (j/unit :seconds))))
630630

631631
(is (j/unit? (j/unit :seconds)))
632+
(is (not (j/unit? nil)))
632633

633634
(is (j/supports? (j/duration) :seconds))
634635
(is (j/supports? :seconds (j/local-date-time)))

0 commit comments

Comments
 (0)