aboutsummaryrefslogtreecommitdiffstats
path: root/test/history_test.lua
diff options
context:
space:
mode:
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