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) }