mirror of https://github.com/jorgebucaran/fisher
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
268 B
Fish
15 lines
268 B
Fish
9 years ago
|
set -l path $DIRNAME/.t-$TESTNAME-(random)
|
||
|
|
||
|
function -S setup
|
||
|
mkdir $path
|
||
|
echo "echo ok" > $path/foo.fish
|
||
|
end
|
||
|
|
||
|
function -S teardown
|
||
|
rm -rf $path
|
||
|
end
|
||
|
|
||
|
test "$TESTNAME - Evaluate file in given path"
|
||
|
"ok" = (__fisher_plugin_source foo $path/foo.fish)
|
||
|
end
|