diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-11-26 16:08:58 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-11-26 16:08:58 +0100 |
| commit | 986c40d3a00d7eb938164e86e46d8dd2ce3b4d5b (patch) | |
| tree | bb9a15ed801c3f63290458df3642f58b18dedc67 /src/suites/builtin.py | |
| parent | c2d6bf590ee30b195bf8f64364ca9d898b35736f (diff) | |
| download | minishell_test-986c40d3a00d7eb938164e86e46d8dd2ce3b4d5b.tar.gz minishell_test-986c40d3a00d7eb938164e86e46d8dd2ce3b4d5b.tar.bz2 minishell_test-986c40d3a00d7eb938164e86e46d8dd2ce3b4d5b.zip | |
Added export singleton with \ and $ characters
Diffstat (limited to 'src/suites/builtin.py')
| -rw-r--r-- | src/suites/builtin.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/suites/builtin.py b/src/suites/builtin.py index 595833e..22ed176 100644 --- a/src/suites/builtin.py +++ b/src/suites/builtin.py @@ -6,7 +6,7 @@ # By: juligonz <juligonz@student.42.fr> +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/07/15 18:24:43 by charles #+# #+# # -# Updated: 2020/10/29 14:16:47 by cacharle ### ########.fr # +# Updated: 2020/11/26 16:08:25 by charles ### ########.fr # # Updated: 2020/09/11 18:01:27 by juligonz ### ########.fr # # # # **************************************************************************** # @@ -69,6 +69,8 @@ def suite_export(test): test("export", hook=hooks.export_singleton) test("export", exports={"A": ""}, hook=hooks.export_singleton) test("export", exports={"A": "\""}, hook=hooks.export_singleton) + test("export", exports={"A": "\\"}, hook=hooks.export_singleton) + test("export", exports={"A": "$"}, hook=hooks.export_singleton) test("export", exports={"A": "\t"}, hook=hooks.export_singleton) test("export", exports={"A": "'"}, hook=hooks.export_singleton) test("export", exports={"A": "a"}, hook=hooks.export_singleton) |
