mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-03 11:16:36 +02:00
add a test for col with unicode and ANSI escapes
This commit is contained in:
parent
05521e5e1d
commit
15fef988af
1 changed files with 4 additions and 0 deletions
|
@ -739,6 +739,10 @@ def | 6
|
||||||
(show #f (with ((pad-char #\〜)) (padded/both 5 "日本語"))))
|
(show #f (with ((pad-char #\〜)) (padded/both 5 "日本語"))))
|
||||||
(test "日本語"
|
(test "日本語"
|
||||||
(show #f (as-unicode (with ((pad-char #\〜)) (padded/both 5 "日本語")))))
|
(show #f (as-unicode (with ((pad-char #\〜)) (padded/both 5 "日本語")))))
|
||||||
|
(test "\x1b;[31m1234567\x1b;[0m col: 7"
|
||||||
|
(show #f (as-unicode (as-red "1234567") (fn ((col)) (each " col: " col)))))
|
||||||
|
(test "日本語 col: 6"
|
||||||
|
(show #f (as-unicode "日本語" (fn ((col)) (each " col: " col)))))
|
||||||
|
|
||||||
;; from-file
|
;; from-file
|
||||||
;; for reference, filesystem-test relies on creating files under /tmp
|
;; for reference, filesystem-test relies on creating files under /tmp
|
||||||
|
|
Loading…
Add table
Reference in a new issue