Skip to content

Commit

Permalink
[66_13] Add one unit tests for the LF issue in Herk/Cork/UTF8 conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii authored Nov 12, 2024
1 parent 9569d67 commit bf7a9cd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions TeXmacs/tests/66_13.scm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@
(check (utf8->herk (string #\x07)) => "<#07>")
(check (utf8->herk (string #\x08)) => "<#08>")
(check (utf8->herk (string #\x09)) => "<#09>")

(check (utf8->herk (string #\x0A)) => "<#0A>")
(check (utf8->herk (string #\newline)) => "<#0A>")

(check (utf8->cork (string #\newline)) => "\n")
(check (cork->utf8 (string #\newline)) => "˙")

(check (utf8->herk (string #\x0B)) => "<#0B>")
(check (utf8->herk (string #\x0C)) => "<#0C>")
(check (utf8->herk (string #\x0D)) => "<#0D>")
Expand Down

0 comments on commit bf7a9cd

Please sign in to comment.