mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
Merge pull request #338 from bucaran/fix-run-tests
test runner should search fish_path for specs instead of *
This commit is contained in:
commit
c004cb57e4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user