From 7497161690129b18e9c6993d64e34549ce490bd3 Mon Sep 17 00:00:00 2001 From: xonix Date: Wed, 8 Dec 2021 21:36:18 +0200 Subject: [PATCH] Diminish the notion of prelude #84 : more edge cases for `@define` --- tests/9_prelude_define_wrong1.sh | 5 +++++ tests/9_prelude_define_wrong2.sh | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 tests/9_prelude_define_wrong1.sh create mode 100644 tests/9_prelude_define_wrong2.sh diff --git a/tests/9_prelude_define_wrong1.sh b/tests/9_prelude_define_wrong1.sh new file mode 100644 index 0000000..3aa9ece --- /dev/null +++ b/tests/9_prelude_define_wrong1.sh @@ -0,0 +1,5 @@ + +@define echo 'Hello' + +@goal default + echo "$0" diff --git a/tests/9_prelude_define_wrong2.sh b/tests/9_prelude_define_wrong2.sh new file mode 100644 index 0000000..bc5b97b --- /dev/null +++ b/tests/9_prelude_define_wrong2.sh @@ -0,0 +1,5 @@ + +@define A=aaa echo 'Hello' + +@goal default + echo "$0"