diff --git a/oauth2_http/java/com/google/auth/oauth2/PluggableAuthHandler.java b/oauth2_http/java/com/google/auth/oauth2/PluggableAuthHandler.java index e7fd8d8d3..6d62d6911 100644 --- a/oauth2_http/java/com/google/auth/oauth2/PluggableAuthHandler.java +++ b/oauth2_http/java/com/google/auth/oauth2/PluggableAuthHandler.java @@ -120,8 +120,8 @@ public String retrieveTokenFromExecutable(ExecutableOptions options) throws IOEx && executableResponse.getExpirationTime() == null) { throw new PluggableAuthException( "INVALID_EXECUTABLE_RESPONSE", - "The executable response must contain the `expiration_time` field for successful responses when an " + - "output_file has been specified in the configuration."); + "The executable response must contain the `expiration_time` field for successful responses when an " + + "output_file has been specified in the configuration."); } // The executable response includes a version. Validate that the version is compatible diff --git a/oauth2_http/javatests/com/google/auth/oauth2/ExecutableResponseTest.java b/oauth2_http/javatests/com/google/auth/oauth2/ExecutableResponseTest.java index 2e3e08249..7c8fec60d 100644 --- a/oauth2_http/javatests/com/google/auth/oauth2/ExecutableResponseTest.java +++ b/oauth2_http/javatests/com/google/auth/oauth2/ExecutableResponseTest.java @@ -112,7 +112,6 @@ void constructor_successSamlResponseMissingExpirationTimeField_notExpired() thro assertNull(response.getExpirationTime()); } - @Test void constructor_validErrorResponse() throws IOException { ExecutableResponse response = new ExecutableResponse(buildErrorResponse());