diff options
author | dequis <dx@dxzone.com.ar> | 2016-11-12 00:38:34 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2016-11-12 00:38:34 -0300 |
commit | fca468311f1fd9880ed2ae4991b2ecc261fd34d5 (patch) | |
tree | 63f970550d1a87fc50d438ba73c5fb409cf32c36 /tests | |
parent | 727a68b876f575bd463d2f5e4b7f65ccee759b2b (diff) |
word_wrap: truncate utf8 safely
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check_util.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/check_util.c b/tests/check_util.c index 006ad02a..44a223ae 100644 --- a/tests/check_util.c +++ b/tests/check_util.c @@ -138,6 +138,11 @@ struct { "aaaaa\naaaaa\naaaaa\naaaaa\naaaaa\naaaaa\naaaaa\na", }, { + "áááááááááá", + 11, + "ááááá\nááááá", + }, + { NULL } }; |