diff options
Diffstat (limited to '')
| -rw-r--r-- | test/history_test.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/history_test.lua b/test/history_test.lua index 5cf607a..69d8287 100644 --- a/test/history_test.lua +++ b/test/history_test.lua @@ -23,9 +23,9 @@ end if lush.getHistory(1) == lush.lastHistory() then -- ensure that piping history is stored correctly - if lush.getHistory(3) == 'cat "example.lua" | grep "hello" | sort | uniq' then + if lush.getHistory(9) == 'cat "example.lua" | grep "hello" | sort | uniq' then -- ensure args history is stored correctly - if lush.getHistory(5) == "args_test.lua testarg1 testarg2 testarg3" then + if lush.getHistory(11) == "args_test.lua testarg1 testarg2 testarg3" then print("getHistory test passed ✅\n") else print("getHistory test failed at args history ❌\n") |
