fix up DenyControlASCII test to admit NUL

This commit is contained in:
nick black 2021-06-27 07:58:04 -04:00
parent 6ba67a6f21
commit cbd3483010
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -993,7 +993,7 @@ TEST_CASE("Plane") {
c = -1;
do{
++c;
if(!isprint(c)){
if(c && !isprint(c)){
CHECK(0 > ncplane_putchar_yx(n_, 0, 0, c));
}else{
CHECK(1 == ncplane_putchar_yx(n_, 0, 0, c));