Skip to content
This repository has been archived by the owner on Nov 8, 2017. It is now read-only.

Commit

Permalink
fixes for go vet
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-ramon committed Nov 27, 2015
1 parent 87c64f4 commit 1c902e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ func TestQuery_ExecutionDoesNotAddErrorsFromFieldResolveFn(t *testing.T) {
RequestString: query,
})
if len(result.Errors) != 0 {
t.Fatal("wrong result, unexpected errors: %+v", result.Errors)
t.Fatalf("wrong result, unexpected errors: %+v", result.Errors)
}
}

Expand Down Expand Up @@ -1289,6 +1289,6 @@ func TestMutation_ExecutionDoesNotAddErrorsFromFieldResolveFn(t *testing.T) {
RequestString: query,
})
if len(result.Errors) != 0 {
t.Fatal("wrong result, expected errors, got no errors")
t.Fatalf("wrong result, unexpected errors: %+v", result.Errors)
}
}

0 comments on commit 1c902e8

Please sign in to comment.