File tree 2 files changed +3
-3
lines changed
java/com/google/auth/oauth2
javatests/com/google/auth/oauth2
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ public String getAccount() {
289
289
try {
290
290
serviceAccountEmail = getDefaultServiceAccount ();
291
291
} catch (IOException ex ) {
292
- throw new RuntimeException ("Failed to to get service account" , ex );
292
+ throw new RuntimeException ("Failed to get service account" , ex );
293
293
}
294
294
}
295
295
return serviceAccountEmail ;
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ public LowLevelHttpResponse execute() throws IOException {
242
242
credentials .getAccount ();
243
243
fail ("Fetching default service account should have failed" );
244
244
} catch (RuntimeException e ) {
245
- assertEquals ("Failed to to get service account" , e .getMessage ());
245
+ assertEquals ("Failed to get service account" , e .getMessage ());
246
246
assertNotNull (e .getCause ());
247
247
assertTrue (e .getCause ().getMessage ().contains ("404" ));
248
248
}
@@ -277,7 +277,7 @@ public LowLevelHttpResponse execute() throws IOException {
277
277
credentials .getAccount ();
278
278
fail ("Fetching default service account should have failed" );
279
279
} catch (RuntimeException e ) {
280
- assertEquals ("Failed to to get service account" , e .getMessage ());
280
+ assertEquals ("Failed to get service account" , e .getMessage ());
281
281
assertNotNull (e .getCause ());
282
282
assertTrue (e .getCause ().getMessage ().contains ("Empty content" ));
283
283
}
You can’t perform that action at this time.
0 commit comments