miaou-test eval cmd
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
function assert {
|
||||
((test_count++))
|
||||
cmd="./test/stub/scenario.bash $1"
|
||||
if eval "cmd" >/dev/null 2>/dev/null 3>_miaou; then
|
||||
if eval "$cmd" >/dev/null 2>/dev/null 3>_miaou; then
|
||||
if [[ -s _miaou ]]; then
|
||||
echo -n .
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user