From e2f00b1eb628ab1dd2b1a079e1d5cb5f20e2bbae Mon Sep 17 00:00:00 2001 From: Nils Winkler Date: Sun, 8 Oct 2017 12:42:02 +0200 Subject: [PATCH] Checking for link target --- test/lib/helpers.bats | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/lib/helpers.bats b/test/lib/helpers.bats index 08e4ec5f..7720b930 100644 --- a/test/lib/helpers.bats +++ b/test/lib/helpers.bats @@ -146,9 +146,7 @@ function local_setup { @test "helpers: enable the node plugin" { run _enable-plugin "node" assert_line -n 0 'node enabled with priority 250.' - assert_link_exist "$BASH_IT/enabled/250---node.plugin.bash" - - assert_equal "../plugins/available/node.plugin.bash" "`readlink $BASH_IT/enabled/250---node.plugin.bash`" + assert_link_exist "$BASH_IT/enabled/250---node.plugin.bash" "../plugins/available/node.plugin.bash" } @test "helpers: enable the node plugin through the bash-it function" {