mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-25 09:41:40 +08: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
|
||||
|
||||
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
|
||||
or set result 1
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user