mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-09 07:10:27 +00:00
18 lines
399 B
Fish
18 lines
399 B
Fish
|
set -l path $DIRNAME/.t-$TESTNAME-(random)
|
||
|
set -l manifest $DIRNAME/fixtures/manifest
|
||
|
|
||
|
function -S setup
|
||
|
mkdir -p $path
|
||
|
cp $manifest/fishfile $path
|
||
|
end
|
||
|
|
||
|
function -S teardown
|
||
|
rm -rf $path
|
||
|
end
|
||
|
|
||
|
while read -l plugin
|
||
|
test "$TESTNAME - Remove plugin <$plugin> from fishfile"
|
||
|
(__fisher_file_remove "$plugin" $path/fishfile) = "$plugin"
|
||
|
end
|
||
|
end < $manifest/fishfile-no-comments
|