fills unit test: require nccell_strdup() success

pull/2139/head
nick black 3 years ago
parent fb9488e7b5
commit e968b3972c
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -504,6 +504,7 @@ TEST_CASE("Fills") {
CHECK(0 < ncplane_at_yx_cell(p1, y, x, &c1));
if(y < 1 || y > 5 || x < 1 || x > 5){
auto cstr = nccell_strdup(p1, &c1);
REQUIRE(nullptr != cstr);
CHECK(0 == strcmp(cstr, ""));
free(cstr);
}else{

Loading…
Cancel
Save