diff --git a/check.sh b/check.sh index 50b78a2..b843b67 100755 --- a/check.sh +++ b/check.sh @@ -73,6 +73,7 @@ tests=' 20-exec 30-substitution +30-substitution-word 30-substitution-backtick 30-substitution-assignment 30-for-substitution diff --git a/test/30-substitution-word.sh b/test/30-substitution-word.sh new file mode 100644 index 0000000..69467ab --- /dev/null +++ b/test/30-substitution-word.sh @@ -0,0 +1,2 @@ +echo foo $(echo bar)/baz + diff --git a/test/30-substitution-word.stdout b/test/30-substitution-word.stdout new file mode 100644 index 0000000..1a1c7ad --- /dev/null +++ b/test/30-substitution-word.stdout @@ -0,0 +1 @@ +foo bar/baz