diff options
| author | Julian Hurst <julian.hurst@digdash.com> | 2025-03-20 11:30:58 +0100 |
|---|---|---|
| committer | Julian Hurst <julian.hurst@digdash.com> | 2025-03-20 11:31:00 +0100 |
| commit | 6e8a2af6bd47fd05e6b22937c5da7397549e7cbb (patch) | |
| tree | d1db94b31bd0681f1492d8aae93d1ff7b53181d1 /tests | |
| parent | 5d8a0a6ce5dbb12963323f97220767fcf7c08b5c (diff) | |
| download | hare-tui-6e8a2af6bd47fd05e6b22937c5da7397549e7cbb.tar.gz | |
Add tests for width and rm cmd/runewidth.ha
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/strwidth.ha | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/strwidth.ha b/tests/strwidth.ha new file mode 100644 index 0000000..e3863d6 --- /dev/null +++ b/tests/strwidth.ha @@ -0,0 +1,6 @@ +use tui; + +@test +fn strwidth() void = { + assert(tui::strwidth("大ぁ😀f") == 7); +}; |
