File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
javatests/com/google/auth/oauth2
java/com/google/auth/oauth2 Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ public String getAccount() {
289289 try {
290290 serviceAccountEmail = getDefaultServiceAccount ();
291291 } catch (IOException ex ) {
292- throw new RuntimeException ("Failed to to get service account" , ex );
292+ throw new RuntimeException ("Failed to get service account" , ex );
293293 }
294294 }
295295 return serviceAccountEmail ;
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ public LowLevelHttpResponse execute() throws IOException {
242242 credentials .getAccount ();
243243 fail ("Fetching default service account should have failed" );
244244 } catch (RuntimeException e ) {
245- assertEquals ("Failed to to get service account" , e .getMessage ());
245+ assertEquals ("Failed to get service account" , e .getMessage ());
246246 assertNotNull (e .getCause ());
247247 assertTrue (e .getCause ().getMessage ().contains ("404" ));
248248 }
@@ -277,7 +277,7 @@ public LowLevelHttpResponse execute() throws IOException {
277277 credentials .getAccount ();
278278 fail ("Fetching default service account should have failed" );
279279 } catch (RuntimeException e ) {
280- assertEquals ("Failed to to get service account" , e .getMessage ());
280+ assertEquals ("Failed to get service account" , e .getMessage ());
281281 assertNotNull (e .getCause ());
282282 assertTrue (e .getCause ().getMessage ().contains ("Empty content" ));
283283 }
You can’t perform that action at this time.
0 commit comments