Skip to content

Commit

Permalink
add error message
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
  • Loading branch information
justincormack committed Jan 9, 2016
1 parent a1c207e commit ab0c08d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1894,7 +1894,7 @@ test_termios = {
local ws, err = S.stdout:ioctl("TIOCGWINSZ")
if not ws and err.NOTTY then error "skipped" end -- stdout might not be a tty in test env
assert(ws, err)
assert(ws.row > 0 and ws.col > 0)
assert(ws.row > 0 and ws.col > 0, "expect positive winsz")
end,
}

Expand Down

0 comments on commit ab0c08d

Please sign in to comment.