Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions test/clojure/core_test/pr_str.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@
;; with trailing decimal place.
(is (= #?(:cljs "nil \"a\" \"string\" \"A\" \" \" 1 17 [:a :b] {:c :d} #{:e}"
:lpy "nil \"a\" \"string\" \"A\" \" \" 1 17.0 [:a :b] {:c :d} #{:e}"
;; Phel has no character type, so \A / \space are single-character
;; strings and print quoted (like CLJS/Basilisp, unlike JVM's \A).
:phel "nil \"a\" \"string\" \"A\" \" \" 1 17.0 [:a :b] {:c :d} #{:e}"
:default "nil \"a\" \"string\" \\A \\space 1 17.0 [:a :b] {:c :d} #{:e}")
(pr-str nil "a" "string" \A \space 1 17.0 [:a :b] {:c :d} #{:e})))))
3 changes: 3 additions & 0 deletions test/clojure/core_test/prn_str.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@
;; with trailing decimal place.
(is (= #?(:cljs (str "nil \"a\" \"string\" \"A\" \" \" 1 17 [:a :b] {:c :d} #{:e}" nl)
:lpy (str "nil \"a\" \"string\" \"A\" \" \" 1 17.0 [:a :b] {:c :d} #{:e}" nl)
;; Phel has no character type, so \A / \space are single-character
;; strings and print quoted (like CLJS/Basilisp, unlike JVM's \A).
:phel (str "nil \"a\" \"string\" \"A\" \" \" 1 17.0 [:a :b] {:c :d} #{:e}" nl)
:default (str "nil \"a\" \"string\" \\A \\space 1 17.0 [:a :b] {:c :d} #{:e}" nl))
(prn-str nil "a" "string" \A \space 1 17.0 [:a :b] {:c :d} #{:e}))))))
Loading