From 68ce253ca289030922581b10a34094750c34d729 Mon Sep 17 00:00:00 2001 From: BanceDev Date: Fri, 27 Sep 2024 09:33:01 -0400 Subject: added exit api function --- test/history_test.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/history_test.lua') diff --git a/test/history_test.lua b/test/history_test.lua index 69d8287..50be957 100644 --- a/test/history_test.lua +++ b/test/history_test.lua @@ -29,10 +29,13 @@ if lush.getHistory(1) == lush.lastHistory() then print("getHistory test passed ✅\n") else print("getHistory test failed at args history ❌\n") + lush.exit() end else print("getHistory test failed at piping history ❌\n") + lush.exit() end else print("getHistory test failed at lastHistory ❌\n") + lush.exit() end -- cgit v1.2.3-59-g8ed1b