aboutsummaryrefslogtreecommitdiff
path: root/src/suite
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-10-10 13:49:21 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-10-10 13:49:21 +0200
commitfb0a727a9885b80b855f470ae6d5c1bfac614439 (patch)
treecbaad5a3182f1bc8eec693153b2d59e77164fb1c /src/suite
parent9fe518540848f6c273fa749a06437aa7bb7459ff (diff)
downloadminishell_test-fb0a727a9885b80b855f470ae6d5c1bfac614439.tar.gz
minishell_test-fb0a727a9885b80b855f470ae6d5c1bfac614439.tar.bz2
minishell_test-fb0a727a9885b80b855f470ae6d5c1bfac614439.zip
Added SHLVL tests
Diffstat (limited to 'src/suite')
-rw-r--r--src/suite/suite.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/suite/suite.py b/src/suite/suite.py
index 0dfff4e..a3cc8c0 100644
--- a/src/suite/suite.py
+++ b/src/suite/suite.py
@@ -6,7 +6,7 @@
# By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/07/15 18:24:29 by charles #+# #+# #
-# Updated: 2020/10/09 11:00:32 by cacharle ### ########.fr #
+# Updated: 2020/10/10 13:47:48 by cacharle ### ########.fr #
# #
# ############################################################################ #
@@ -159,10 +159,10 @@ class Suite:
continue
pass_sum += pass_total
fail_sum += fail_total
- print("{:.<{width}} \033[32m{:3} [PASS]\033[0m \033[31m{:3} [FAIL]\033[0m"
- .format(s.name + " ", pass_total, fail_total, width=config.TERM_COLS - 22))
- print("{:.<{width}} \033[32m{:3} [PASS]\033[0m \033[31m{:3} [FAIL]\033[0m"
- .format("TOTAL ", pass_sum, fail_sum, width=config.TERM_COLS - 22))
+ print("{:.<{width}} \033[32m{:4} [PASS]\033[0m \033[31m{:4} [FAIL]\033[0m"
+ .format(s.name + " ", pass_total, fail_total, width=config.TERM_COLS - 24))
+ print("{:.<{width}} \033[32m{:4} [PASS]\033[0m \033[31m{:4} [FAIL]\033[0m"
+ .format("TOTAL ", pass_sum, fail_sum, width=config.TERM_COLS - 24))
@classmethod
def save_log(cls):