aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/test.py b/src/test/test.py
index da013d1..c4e183c 100644
--- a/src/test/test.py
+++ b/src/test/test.py
@@ -6,7 +6,7 @@
# By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/06/16 21:48:50 by charles #+# #+# #
-# Updated: 2020/10/06 15:54:12 by cacharle ### ########.fr #
+# Updated: 2020/10/07 08:12:00 by charles ### ########.fr #
# #
# ############################################################################ #
@@ -52,6 +52,8 @@ class Test:
self.hook_status = hook_status
if type(self.hook) is not list:
self.hook = [self.hook]
+ if type(self.hook_status) is not list:
+ self.hook_status = [self.hook_status]
def run(self):
""" Run the test for minishell and the reference shell and print the result out """