aboutsummaryrefslogtreecommitdiffstats
path: root/test/history_test.lua
diff options
context:
space:
mode:
authorGravatar BanceDev 2024-09-27 09:33:01 -0400
committerGravatar BanceDev 2024-09-27 09:33:01 -0400
commit68ce253ca289030922581b10a34094750c34d729 (patch)
tree24a8d2a158794a0e42b5a154d3cf595188bd7227 /test/history_test.lua
parentfixed chaining execution attempting to execute operator (diff)
added exit api function
Diffstat (limited to 'test/history_test.lua')
-rw-r--r--test/history_test.lua3
1 files changed, 3 insertions, 0 deletions
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