Check for link target

pull/1043/head
Nils Winkler 2017-09-15 08:10:14 +02:00
parent 5f3627b9b7
commit e705e6c60f
1 changed files with 1 additions and 6 deletions

View File

@ -55,12 +55,7 @@ function local_setup {
assert_line "0" 'node enabled with priority 250.' assert_line "0" 'node enabled with priority 250.'
assert [ -L "$BASH_IT/enabled/250---node.plugin.bash" ] assert [ -L "$BASH_IT/enabled/250---node.plugin.bash" ]
# TODO Check for the link target - readlink assert_equal "../plugins/available/node.plugin.bash" "`readlink $BASH_IT/enabled/250---node.plugin.bash`"
# target_path=$HOME/Code/slate/.slate.js
#
# if [ "`readlink $HOME/.slate.js`" -ef "$target_path" ]; then
# rm -rf "$HOME/.slate.js"
# fi
} }
@test "bash-it: enable the node plugin through the bash-it function" { @test "bash-it: enable the node plugin through the bash-it function" {