mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-08 01:10:23 +00:00
[TextLayout] update unit test
This commit is contained in:
parent
eea3be5768
commit
64c8776c48
@ -583,7 +583,7 @@ TEST_CASE("TextLayout") {
|
||||
CHECK(0 == notcurses_render(nc_));
|
||||
char* line = ncplane_contents(sp, 0, 0, 0, 0);
|
||||
REQUIRE(line);
|
||||
CHECK(0 == strcmp(line, "descriptor, while NCSubproc spawns a subprocess and streams its output. A variety of plots are supported, and menus can be placed along the top and/or bottom of any plane.\nWidgets can be controlled with the keyboard and/or mouse. They are implemented atop ncplanes, and these planes can be manipulated like all others."));
|
||||
CHECK(0 == strcmp(line, "to be selected from a list of n items. NCFdplane streams a file descriptor, while NCSubproc spawns a subprocess and streams its output. A variety of plots are supported, and menus can be placed along the top and/or bottom of any plane.\nWidgets can be controlled with the keyboard and/or mouse. They are implemented atop ncplanes, and these planes can be manipulated like all others."));
|
||||
free(line);
|
||||
CHECK(0 == ncplane_destroy(sp));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user