From 820102f9ccdfdfe3ae78c22f803da4db87cb91ba Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Wed, 3 Mar 2021 12:24:41 +0100 Subject: Added test.test.Test tests --- minishell_test/hooks.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'minishell_test/hooks.py') diff --git a/minishell_test/hooks.py b/minishell_test/hooks.py index 54963c9..0890565 100644 --- a/minishell_test/hooks.py +++ b/minishell_test/hooks.py @@ -6,7 +6,7 @@ # By: charles +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/09/11 16:10:20 by charles #+# #+# # -# Updated: 2021/02/28 12:06:14 by cacharle ### ########.fr # +# Updated: 2021/03/03 09:25:48 by cacharle ### ########.fr # # # # ############################################################################ # @@ -27,7 +27,6 @@ def error_line0(output): """Replace "/bin/bash: -c: line n:" by "minishell:" and delete the second line""" if not Config.check_error_messages: return DISCARDED_TEXT - lines = output.split('\n') if len(lines) != 3: return output -- cgit