We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ae5a75 commit b021674Copy full SHA for b021674
test/rewrite_clj/node/coercer_test.cljc
@@ -66,7 +66,9 @@
66
(testing "multi-line string newline variants are normalized"
67
(let [s "hey\nyou\rover\r\nthere"
68
n (node/coerce s)]
69
- (is (= "hey\nyou\nover\nthere" (node/sexpr n))))))
+ (is (= "hey\nyou\nover\nthere" (node/sexpr n)))))
70
+ (testing "coerce string roundtrip"
71
+ (is (= "\"hey \\\" man\"" (-> "hey \" man" node/coerce node/string)))))
72
73
(deftest
74
t-quoted-list-reader-location-metadata-elided
0 commit comments