Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Sep 30, 2024
1 parent eebe113 commit f83e9cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/sci/records_test.cljc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(ns sci.records-test
(:require
[clojure.string :as str]
[clojure.test :refer [deftest is testing]]
[sci.core :as sci]
[sci.test-utils :as tu]
[clojure.string :as str]))
[sci.test-utils :as tu]))

(deftest protocol-test
(let [prog "
Expand Down Expand Up @@ -172,7 +172,7 @@

#?(:clj
(deftest print-method-test
(let [prog "(ns foo) (defrecord A [x y z]) (defmethod print-method A [x writer] (.write writer \"<A>\")) (pr-str [(->A 1)])"]
(let [prog "(ns foo) (defrecord A [x y z]) (defmethod print-method A [x writer] (.write writer \"<A>\")) (pr-str [(->A 1 2 3)])"]
(is (= "[<A>]" (tu/eval* prog {}))))))

#?(:cljs
Expand Down

0 comments on commit f83e9cf

Please sign in to comment.