progress bar unit tests: skip non-utf8

pull/1270/head
nick black 4 years ago
parent 1c4d942cfc
commit 66349ecbd0
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -7,6 +7,10 @@ TEST_CASE("ProgressBar") {
if(!nc_){
return;
}
if(!notcurses_canutf8(nc_)){
CHECK(0 == notcurses_stop(nc_));
return;
}
struct ncplane* n_ = notcurses_stdplane(nc_);
REQUIRE(n_);
REQUIRE(0 == ncplane_cursor_move_yx(n_, 0, 0));

Loading…
Cancel
Save