mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
geometry unit tests: shut down nc in finalizer
This commit is contained in:
parent
99d05f67e7
commit
999c6c0742
@ -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;
|
||||
}
|
||||
|
||||
TEST_CASE("ncmetric") {
|
||||
TEST_CASE("Metric") {
|
||||
const char* decisep = localeconv()->decimal_point;
|
||||
REQUIRE(decisep);
|
||||
REQUIRE(1 == strlen(decisep));
|
||||
|
Loading…
x
Reference in New Issue
Block a user