From 031da7a21cd4fefe5cabb52addea3cbed4e69a6a Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Sat, 22 Jul 2017 22:43:33 -0700 Subject: [PATCH] fix vet --- client/driver/java_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/driver/java_test.go b/client/driver/java_test.go index fa347a043..69c4b7dc4 100644 --- a/client/driver/java_test.go +++ b/client/driver/java_test.go @@ -168,7 +168,7 @@ func TestJavaDriver_Start_Wait(t *testing.T) { select { case res := <-resp.Handle.WaitCh(): if !res.Successful() { - t.Fatal("err: %v", res.String()) + t.Fatalf("err: %v", res.String()) } case <-time.After(5 * time.Second): t.Fatalf("timeout") @@ -403,7 +403,7 @@ func TestJavaDriver_Start_Wait_Class(t *testing.T) { select { case res := <-resp.Handle.WaitCh(): if !res.Successful() { - t.Fatal("err: %v", res.String()) + t.Fatalf("err: %v", res.String()) } case <-time.After(5 * time.Second): t.Fatalf("timeout")