mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-08 01:10:23 +00:00
[FutureFlags] don't overwhelm stdout in test
This commit is contained in:
parent
64c8776c48
commit
52ac57cb49
@ -174,9 +174,10 @@ TEST_CASE("Direct") {
|
||||
|
||||
CHECK(0 == ncdirect_stop(nc_));
|
||||
|
||||
// make sure that we can pass undefined flags and still create the ncdirect
|
||||
// make sure that we can pass undefined flags and still create the ncdirect.
|
||||
// we don't pass all 1s, or we turn on all logging, and run into trouble!
|
||||
SUBCASE("FutureFlags") {
|
||||
auto fnc = ncdirect_init(NULL, stdout, ~0ULL);
|
||||
auto fnc = ncdirect_init(NULL, stdout, NCDIRECT_OPTION_VERY_VERBOSE << 1u);
|
||||
REQUIRE(nullptr != fnc);
|
||||
CHECK(0 == ncdirect_stop(fnc));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user