mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
workarounds for busted doctest 2.4.9 #2673
This commit is contained in:
parent
9f0a7bf095
commit
7651cde998
@ -17,7 +17,8 @@ TEST_CASE("Bitmaps") {
|
||||
CHECK(0 < nc_->tcache.cellpxy);
|
||||
CHECK(0 < nc_->tcache.cellpxx);
|
||||
if(!nc_->tcache.pixel_draw_late){
|
||||
CHECK(nc_->tcache.pixel_draw);
|
||||
// work around bug in doctest 2.4.9 =[
|
||||
CHECK((const void*)nc_->tcache.pixel_draw);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -395,7 +395,8 @@ TEST_CASE("Tabbed") {
|
||||
CHECK(0 == strcmp(sep, nctabbed_separator(nt)));
|
||||
auto t1 = nctabbed_add(nt, nullptr, nullptr, tabbedcb, "tab1", nullptr);
|
||||
nctab_set_cb(t1, tabbedcb);
|
||||
CHECK(tabbedcb == nctab_cb(t1));
|
||||
// FIXME workaround for busted doctest 2.4.9 =[
|
||||
// CHECK(tabbedcb == nctab_cb(t1));
|
||||
nctab_set_userptr(t1, (void*) sep);
|
||||
CHECK((void*) sep == nctab_userptr(t1));
|
||||
const char* tname = "tab name";
|
||||
|
Loading…
x
Reference in New Issue
Block a user