aboutsummaryrefslogtreecommitdiff
path: root/src/suites/preprocess.py
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-09-12 11:04:21 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-09-12 11:04:21 +0200
commit75f6b134911e378cb384e41fd0b9f717341acb2d (patch)
tree2563065b514e314769c673f541cbcc40eb999298 /src/suites/preprocess.py
parentd66394dc10517af4578e80d626dc903a3cdece79 (diff)
downloadminishell_test-75f6b134911e378cb384e41fd0b9f717341acb2d.tar.gz
minishell_test-75f6b134911e378cb384e41fd0b9f717341acb2d.tar.bz2
minishell_test-75f6b134911e378cb384e41fd0b9f717341acb2d.zip
Added recording, Fixing no autocomplete on exact match
Diffstat (limited to 'src/suites/preprocess.py')
-rw-r--r--src/suites/preprocess.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/suites/preprocess.py b/src/suites/preprocess.py
index a407809..406e390 100644
--- a/src/suites/preprocess.py
+++ b/src/suites/preprocess.py
@@ -6,7 +6,7 @@
# By: juligonz <juligonz@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/07/15 18:25:00 by charles #+# #+# #
-# Updated: 2020/09/11 20:15:08 by charles ### ########.fr #
+# Updated: 2020/09/12 10:48:04 by charles ### ########.fr #
# #
# **************************************************************************** #
@@ -27,6 +27,8 @@ def suite_quote(test):
test('echo "\\""')
test('echo "\\$"')
test('echo "\\\\"')
+ test('echo "\\a"')
+ test('echo "\\A"')
test('ls ""')
test("ls ''")
test('ls "" "" "" \'\' """"')
@@ -49,6 +51,10 @@ def suite_quote(test):
test('ec""""""""""""""""""""""""""""""""""""""""""""""""""""""""""ho bonjour')
test("'''''''e''''''''''c''''''''''''h''''''''o''''''''''''''''''''' bonjour")
test('"""""""e""""""""""c""""""""""""h""""""""o""""""""""""""""""""" bonjour')
+ test("echo '\"'")
+ test("echo '\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"'")
+ test('echo "\'"')
+ test('echo "\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'"')
test("echo '", hook=hooks.error_line0)
test('echo "', hook=hooks.error_line0)
test("echo '''", hook=hooks.error_line0)