feat(tests): sh file for function testing

This commit is contained in:
Matteo Flebus 2026-01-31 10:48:58 +01:00
parent f31fca4204
commit 64e3fb26c3

21
tests/func.sh Normal file
View file

@ -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