From fbfa513c23b05ae5deeaa0ff81ce8045967890c0 Mon Sep 17 00:00:00 2001 From: dgp Date: Fri, 24 Apr 2020 17:37:36 +0000 Subject: Two more tests developed during work on [27944a3661]. --- tests/utf.test | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/utf.test b/tests/utf.test index d749552..57b8a80 100644 --- a/tests/utf.test +++ b/tests/utf.test @@ -565,6 +565,12 @@ test utf-6.123 {Tcl_UtfNext, read limits} testutfnext { test utf-6.124 {Tcl_UtfNext, read limits} testutfnext { testutfnext \xA0\xA0\xA0\xA0\xA0 4 } 1 +test utf-6.125 {Tcl_UtfNext, pointing to 2th byte of 5-byte invalid sequence} testutfnext { + testutfnext \xA0\xA0\xA0\xA0 +} 1 +test utf-6.126 {Tcl_UtfNext, pointing to 2th byte of 5-byte invalid sequence} testutfnext { + testutfnext \x80\x80\x80\x80 +} 1 test utf-7.1 {Tcl_UtfPrev} testutfprev { testutfprev {} -- cgit v0.12