test: remove bad tty window size assumption (#3895)
Fixes: https://github.com/libuv/libuv/issues/3894
This commit is contained in:
parent
ee206367d4
commit
f1b4c76648
@ -116,12 +116,8 @@ TEST_IMPL(tty) {
|
|||||||
return TEST_SKIP;
|
return TEST_SKIP;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
ASSERT_GT(width, 0);
|
||||||
* Is it a safe assumption that most people have terminals larger than
|
ASSERT_GT(height, 0);
|
||||||
* 10x10?
|
|
||||||
*/
|
|
||||||
ASSERT(width > 10);
|
|
||||||
ASSERT(height > 10);
|
|
||||||
|
|
||||||
/* Turn on raw mode. */
|
/* Turn on raw mode. */
|
||||||
r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW);
|
r = uv_tty_set_mode(&tty_in, UV_TTY_MODE_RAW);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user