diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2015-04-08 19:07:41 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-04-08 19:07:41 -0300 |
commit | fde34572353de35aa60d7e61148759d4d7a4d0f0 (patch) | |
tree | c3c1269d28f70af2a566247875f3a7c2be42c5b3 /test_spec.lua | |
parent | 86d5750451a2916636249535edeb6f3ed5c62d36 (diff) |
Make test more robust.
Diffstat (limited to 'test_spec.lua')
-rwxr-xr-x | test_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test_spec.lua b/test_spec.lua index 81b67351..af6e8332 100755 --- a/test_spec.lua +++ b/test_spec.lua @@ -213,12 +213,12 @@ describe("htop test suite", function() send("/") send("busted") local attr = rt:cellAttr(rt:rows() - 1, 30) - send("\n") - delay(0.4) + delay(0.3) local line = find_selected_y() local pid = (" "..tostring(unistd.getpid())):sub(-5) assert.equal(attr, attrs.black_on_cyan) local ourpid = check_string_at(1, line, pid) + send("\n") send(curses.KEY_HOME) assert.equal(check(ourpid)) end) |