Skip to content

Commit

Permalink
show carriage return on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grische committed Jul 25, 2024
1 parent a268b24 commit 1e827f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions json-to-go.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ function quote(str) {
return "'" + str
.replace(/\t/g, "\\t")
.replace(/\n/g, "\\n")
.replace(/\r/g, "\\r")
.replace(/'/g, "\\'") + "'"
}

Expand Down

0 comments on commit 1e827f8

Please sign in to comment.