geometry unit tests: shut down nc in finalizer

This commit is contained in:
nick black 2020-05-12 18:40:14 -04:00
parent 99d05f67e7
commit 999c6c0742
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 3 additions and 1 deletions

View File

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

View File

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