Skip to content

Commit

Permalink
fix gcs test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreylean committed Aug 1, 2023
1 parent dcf4519 commit 5e32b18
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions internal/storage/writer/gcs/gcs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ func TestWriter(t *testing.T) {
c, err := New("test", "test", "", "", m)

// TODO: Impove test
assert.Nil(t, err)
assert.Error(t, c.Write(key.Key("test"), nil))
assert.Nil(t, c)
assert.Error(t, err)

assert.Panics(t, func() {
c.Write(key.Key("test"), nil)
})
}

0 comments on commit 5e32b18

Please sign in to comment.