From e705e6c60fdcf30c16ac8dec286fc95f35fffe87 Mon Sep 17 00:00:00 2001 From: Nils Winkler Date: Fri, 15 Sep 2017 08:10:14 +0200 Subject: [PATCH] Check for link target --- test/lib/helpers.bats | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/lib/helpers.bats b/test/lib/helpers.bats index 7ab57ae7..3eb031e4 100644 --- a/test/lib/helpers.bats +++ b/test/lib/helpers.bats @@ -55,12 +55,7 @@ function local_setup { assert_line "0" 'node enabled with priority 250.' assert [ -L "$BASH_IT/enabled/250---node.plugin.bash" ] - # TODO Check for the link target - readlink - # target_path=$HOME/Code/slate/.slate.js - # - # if [ "`readlink $HOME/.slate.js`" -ef "$target_path" ]; then - # rm -rf "$HOME/.slate.js" - # fi + assert_equal "../plugins/available/node.plugin.bash" "`readlink $BASH_IT/enabled/250---node.plugin.bash`" } @test "bash-it: enable the node plugin through the bash-it function" {