fisher/test/url-clone.fish
2016-02-24 10:20:48 +09:00

19 lines
369 B
Fish

function -S setup
function git
printf "%s\n" $argv
end
end
function -S teardown
functions -e git
end
for plugin in foo bar
set -l url https://github.com/$plugin/$plugin
set -l path config/cache/$plugin
test "$TESTNAME - Use Git to clone repo <$url> into <$path>"
clone $url $path = (__fisher_url_clone $url $path)
end
end