From 4bf5b70f8a0ff43a1f5bf328a4496aa6be90df00 Mon Sep 17 00:00:00 2001 From: Hector Date: Sun, 17 Oct 2021 05:24:00 -0400 Subject: [PATCH] Fix test errors after commit 8c889a5 (bash completion w/posix) (#1001) --- src/test/groovy/sdkman/steps/command_line_interop_steps.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/groovy/sdkman/steps/command_line_interop_steps.groovy b/src/test/groovy/sdkman/steps/command_line_interop_steps.groovy index 17f93bb6..db9b8d83 100644 --- a/src/test/groovy/sdkman/steps/command_line_interop_steps.groovy +++ b/src/test/groovy/sdkman/steps/command_line_interop_steps.groovy @@ -48,5 +48,5 @@ And(~'the "(.*)" variable is not set') { String home -> And(~'^the home path ends with \"([^\"]*)\"$') { String suffix -> def path = sdkmanBaseDir.absolutePath + "/" + suffix - assert result.trim().equals(path) + assert result.trim().endsWith(path) }