diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2024-01-21 09:59:52 +0100 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2024-01-21 09:59:55 +0100 |
commit | ff1ec930e5baa00b483f1ce43fa8bec18c797c03 (patch) | |
tree | 1c102408d5d79e12b70fe81f97602d3856ed334e /tests/syscalls.scm | |
parent | 60c97924e9519361494aaf0686e28eb831a42315 (diff) | |
parent | c7f937cfdd9a08bad81705fe731e9fa5937cf562 (diff) |
Merge branch 'master' into emacs-team
Diffstat (limited to 'tests/syscalls.scm')
-rw-r--r-- | tests/syscalls.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/syscalls.scm b/tests/syscalls.scm index c9e011f453..340c1147de 100644 --- a/tests/syscalls.scm +++ b/tests/syscalls.scm @@ -583,6 +583,14 @@ (test-assert "terminal-rows" (> (terminal-rows) 0)) +(test-equal "terminal-string-width English" + 5 + (terminal-string-width "hello")) + +(test-equal "terminal-string-width Japanese" + 6 + (terminal-string-width "今日は")) + (test-assert "openpty" (let ((head inferior (openpty))) (and (integer? head) (integer? inferior) |