Merge pull request #338 from bucaran/fix-run-tests

test runner should search fish_path for specs instead of *
This commit is contained in:
Bruno 2015-01-21 08:37:41 -02:00
commit c004cb57e4

View File

@ -1,7 +1,7 @@
#!/usr/bin/env fish #!/usr/bin/env fish
set -l result 0 set -l result 0
for test in (find * -type f -print | grep "spec.fish") for test in (find $fish_path -type f -print | grep "spec.fish")
fish $test $argv fish $test $argv
or set result 1 or set result 1
end end