mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-09 07:10:27 +00:00
25 lines
454 B
Fish
25 lines
454 B
Fish
set -l path $DIRNAME/.t-$TESTNAME-(random)
|
|
|
|
function -S setup
|
|
mkdir -p $path/{foo,bar}
|
|
|
|
__fisher_config_color_save $path/foo/fish_colors
|
|
|
|
touch $path/bar/fish_colors
|
|
end
|
|
|
|
function -S teardown
|
|
rm -rf $path
|
|
end
|
|
|
|
test "$TESTNAME - Create fish_colors in path"
|
|
-s $path/foo/fish_colors
|
|
end
|
|
|
|
test "$TESTNAME - Create fish_colors in path"
|
|
1 = (
|
|
__fisher_config_color_save $path/bar/fish_colors
|
|
echo $status
|
|
)
|
|
end
|