We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06836ec commit 4b88240Copy full SHA for 4b88240
dataproc/quickstart/quickstart_test.go
@@ -65,7 +65,7 @@ func setup(t *testing.T, projectID string) {
65
w := obj.NewWriter(ctx)
66
67
if _, err := fmt.Fprint(w, code); err != nil {
68
- if err2 := w.Close(); err != nil {
+ if err2 := w.Close(); err2 != nil {
69
t.Errorf("Error writing to file and closing it: %v", err2)
70
}
71
t.Errorf("Error writing to file: %v", err)
0 commit comments