Skip to content

Commit d24b516

Browse files
committed
Fix windows
1 parent 9003c7d commit d24b516

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/lambdaisland/deep_diff2/printer_test.cljc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@
2626

2727
(deftest print-doc-test
2828
(testing "date"
29-
(let [expected (str/replace "\u001B[31m-#inst \"2019-04-09T14:57:46.128-00:00\"\u001B[0m \u001B[32m+#inst \"2019-04-10T14:57:46.128-00:00\"\u001B[0m\n" "\r\n" "\n")]
29+
(let [expected "\u001B[31m-#inst \"2019-04-09T14:57:46.128-00:00\"\u001B[0m \u001B[32m+#inst \"2019-04-10T14:57:46.128-00:00\"\u001B[0m\n"]
3030
(is (= expected
31-
(printed (diff/diff #inst "2019-04-09T14:57:46.128-00:00"
32-
#inst "2019-04-10T14:57:46.128-00:00"))))))
31+
(str/replace (printed (diff/diff #inst "2019-04-09T14:57:46.128-00:00"
32+
#inst "2019-04-10T14:57:46.128-00:00"))
33+
"\r\n" "\n")))))
3334

3435
#?(:bb nil ;; bb TimeStamp constructor not included as of 1.0.166
3536
:clj

0 commit comments

Comments
 (0)