Browse Source

miaou-test eval cmd

main
pvincent 1 week ago
parent
commit
841fb354a4
  1. 2
      test/miaou-bash.test.bash

2
test/miaou-bash.test.bash

@ -7,7 +7,7 @@
function assert { function assert {
((test_count++)) ((test_count++))
cmd="./test/stub/scenario.bash $1" 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 if [[ -s _miaou ]]; then
echo -n . echo -n .
return return

Loading…
Cancel
Save