From fde34572353de35aa60d7e61148759d4d7a4d0f0 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Wed, 8 Apr 2015 19:07:41 -0300 Subject: [PATCH] Make test more robust. --- test_spec.lua | 4 ++-- 1 file 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)