[FutureFlags] don't overwhelm stdout in test

This commit is contained in:
nick black 2021-12-11 17:33:45 -05:00
parent 64c8776c48
commit 52ac57cb49
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -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));
}