Skip to content

Commit 1e827f8

Browse files
committed
show carriage return on tests
1 parent a268b24 commit 1e827f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

json-to-go.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ function quote(str) {
44
return "'" + str
55
.replace(/\t/g, "\\t")
66
.replace(/\n/g, "\\n")
7+
.replace(/\r/g, "\\r")
78
.replace(/'/g, "\\'") + "'"
89
}
910

0 commit comments

Comments
 (0)