From 2a955a746738f3ef5226a275d91c1de6aef747ff Mon Sep 17 00:00:00 2001 From: "Jan Wedekind (Dr)" Date: Tue, 15 Oct 2024 22:49:51 +0100 Subject: [PATCH] Use correct syntax for test --- test/clj/coffi/ffi_test.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/clj/coffi/ffi_test.clj b/test/clj/coffi/ffi_test.clj index 0b6193b..adda64c 100644 --- a/test/clj/coffi/ffi_test.clj +++ b/test/clj/coffi/ffi_test.clj @@ -11,7 +11,7 @@ (t/is (not (nil? (ffi/find-symbol "add_numbers"))))) (t/deftest can-fetch-constant - (t/is (ffi/const "c" ::mem/int) 42)) + (t/is (= 42 (ffi/const "c" ::mem/int)))) (t/deftest can-call-primitive-fns (t/is (= 5 ((ffi/cfn "add_numbers" [::mem/int ::mem/int] ::mem/int) 2 3))))