$_ does not work correctly in functions called from test #798
Labels
Component: Bash Code
Everything regarding the bash code
Component: Docs
Priority: Low
Spelling mistakes
Status: Confirmed
The reproducer worked as described
Type: Bug
my code file (mycode.sh) has:
my test file has:
To Reproduce
/usr/local/bin/bats /fol/tes.sh fails it seems to get the output of filename instead of day
Expected behavior
test should pass
Environment (please complete the following information):
bash --version
: GNU bash, version 5.1.4(1)-release (x86_64-pc-linux-gnu)The text was updated successfully, but these errors were encountered: