From 80588be72fe6b65d8b334eb518cbe73adb83cf0f Mon Sep 17 00:00:00 2001 From: BanceDev Date: Thu, 26 Sep 2024 23:15:37 -0400 Subject: updated history tests --- test/history_test.lua | 4 ++-- 1 file 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") -- cgit v1.2.3-59-g8ed1b