Skip to content

Commit 4fc863a

Browse files
committed
fix: mistake in rewriting the assert.
1 parent b5d43c9 commit 4fc863a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2_http/javatests/com/google/auth/oauth2/ComputeEngineCredentialsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ public LowLevelHttpResponse execute() throws IOException {
725725

726726
IOException exception =
727727
Assert.assertThrows(IOException.class, () -> credentials.refreshAccessToken());
728-
assertTrue(exception instanceof GoogleAuthException);
728+
assertFalse(exception instanceof GoogleAuthException);
729729
}
730730
}
731731

0 commit comments

Comments
 (0)