Skip to content

Commit e047413

Browse files
committed
small test update
1 parent f46cd49 commit e047413

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nippy/src/simple/main.clj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
(comment
77
;; Throws exception
88
(defn -main []
9-
(prn (nippy/freeze nippy/stress-data))
9+
(prn (into [] (nippy/freeze nippy/stress-data)))
1010
(prn (nippy/thaw (nippy/freeze nippy/stress-data)))))
1111

1212

13+
;; For some reason Exceptions are not "freezeable" with GraalVM
1314
(def data
1415
{:string "hello world"
1516
:number 123
@@ -18,6 +19,6 @@
1819

1920

2021
(defn -main []
21-
(prn (nippy/freeze data))
22+
(prn (into [] (nippy/freeze data)))
2223
(prn (nippy/thaw (nippy/freeze data)))
2324
(println "it works!"))

0 commit comments

Comments
 (0)