From 64e3fb26c329c927a088d3be2339273f2115b62b Mon Sep 17 00:00:00 2001 From: Matteo Flebus Date: Sat, 31 Jan 2026 10:48:58 +0100 Subject: [PATCH] feat(tests): sh file for function testing --- tests/func.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/func.sh diff --git a/tests/func.sh b/tests/func.sh new file mode 100644 index 0000000..dbd0590 --- /dev/null +++ b/tests/func.sh @@ -0,0 +1,21 @@ +func() +{ + echo hello +} + +arg_func() +{ + echo first argument is "$1" +} + +func_in_func() +{ + func +} + +func_one_line() { echo "this is on one line"; } + +func +arg_func "HERE" +func_in_func +func_one_line