Skip to content

Commit

Permalink
fix cause access in test asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
chali committed Jun 9, 2021
1 parent ca5182d commit 6571caf
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -57,7 +57,7 @@ class JavaCrossCompilePluginIntegrationSpec extends IntegrationSpec {
then:
def failure = result.failure
failure != null
failure.cause.cause.cause.message == 'Could not locate a compatible JDK for target compatibility 1.4. Change the source/target compatibility, set a JDK_14 environment variable with the location, or install to one of the default search locations'
failure.cause.cause.message == 'Could not locate a compatible JDK for target compatibility 1.4. Change the source/target compatibility, set a JDK_14 environment variable with the location, or install to one of the default search locations'
}

@Unroll
Expand Down

0 comments on commit 6571caf

Please sign in to comment.