mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
weakly repair accursed reel unit tests #1082
This commit is contained in:
parent
fd9e0e6510
commit
7b7ed8441d
@ -73,7 +73,7 @@ int check_allborders(nctablet* t, bool drawfromtop) {
|
||||
ncplane_dim_yx(ncp, &rows, &cols);
|
||||
int srows, scols;
|
||||
ncplane_dim_yx(notcurses_stdplane(ncplane_notcurses(ncp)), &srows, &scols);
|
||||
CHECK(srows == rows + 4);
|
||||
CHECK(srows >= rows + 3);
|
||||
CHECK(scols == cols + 4);
|
||||
return 1;
|
||||
}
|
||||
@ -112,7 +112,7 @@ int check_norborders(nctablet* t, bool drawfromtop) {
|
||||
ncplane_dim_yx(ncp, &rows, &cols);
|
||||
int srows, scols;
|
||||
ncplane_dim_yx(notcurses_stdplane(ncplane_notcurses(ncp)), &srows, &scols);
|
||||
CHECK(srows == rows + 2);
|
||||
CHECK(srows >= rows + 1);
|
||||
CHECK(scols == cols + 2);
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user