Skip to content

Commit 1e115f9

Browse files
committed
Use character literals for better readability
1 parent 8b22595 commit 1e115f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/lambdaisland/deep_diff/printer_test.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212

1313
(deftest print-doc-test
1414
(testing "date"
15-
(is (= "[31m-#inst \"2019-04-09T14:57:46.128-00:00\"[0m [32m+#inst \"2019-04-10T14:57:46.128-00:00\"[0m\n"
15+
(is (= "\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"
1616
(printed (diff/diff #inst "2019-04-09T14:57:46.128-00:00"
1717
#inst "2019-04-10T14:57:46.128-00:00")))))
1818
(testing "uuid"
19-
(is (= "[31m-#uuid \"e41b325a-ce9d-4fdd-b51d-280d9c91314d\"[0m [32m+#uuid \"0400be9a-619f-4c6a-a735-6245e4955995\"[0m\n"
19+
(is (= "\u001B[31m-#uuid \"e41b325a-ce9d-4fdd-b51d-280d9c91314d\"\u001B[0m \u001B[32m+#uuid \"0400be9a-619f-4c6a-a735-6245e4955995\"\u001B[0m\n"
2020
(printed (diff/diff #uuid "e41b325a-ce9d-4fdd-b51d-280d9c91314d"
2121
#uuid "0400be9a-619f-4c6a-a735-6245e4955995"))))))

0 commit comments

Comments
 (0)