geometry unit tests: shut down nc in finalizer

pull/600/head^2
nick black 4 years ago
parent 99d05f67e7
commit 999c6c0742
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -42,4 +42,6 @@ TEST_CASE("Geometry") {
} }
} }
CHECK(0 == notcurses_stop(nc_));
} }

@ -19,7 +19,7 @@ char* impericize_ncmetric(uintmax_t val, unsigned decimal, char* buf,
return buf; return buf;
} }
TEST_CASE("ncmetric") { TEST_CASE("Metric") {
const char* decisep = localeconv()->decimal_point; const char* decisep = localeconv()->decimal_point;
REQUIRE(decisep); REQUIRE(decisep);
REQUIRE(1 == strlen(decisep)); REQUIRE(1 == strlen(decisep));

Loading…
Cancel
Save