summaryrefslogtreecommitdiff
path: root/src/test/test-utf8.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-10-05 22:47:52 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-10-05 22:59:43 -0400
commita7176505e0083a073d03760f7b5435017a47c7c8 (patch)
tree7a1f7ba89dfcb041540e012206bcd097d10f6603 /src/test/test-utf8.c
parentfc676b00a7545743429e0c9b12a0f0707b1059aa (diff)
utf8: fix utf8_is_printable
Diffstat (limited to 'src/test/test-utf8.c')
-rw-r--r--src/test/test-utf8.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test-utf8.c b/src/test/test-utf8.c
index 7bd0db173a..f0182ee9af 100644
--- a/src/test/test-utf8.c
+++ b/src/test/test-utf8.c
@@ -26,6 +26,7 @@ static void test_utf8_is_printable(void) {
assert_se(utf8_is_printable("ascii is valid\tunicode", 22));
assert_se(utf8_is_printable("\342\204\242", 3));
assert_se(!utf8_is_printable("\341\204", 2));
+ assert_se(utf8_is_printable("ąę", 4));
}
static void test_utf8_is_valid(void) {