fix: date time and improve erorrs (#22)

This commit is contained in:
Ludvig Lundgren 2021-08-30 22:11:59 +02:00 committed by GitHub
parent c372ca4ddf
commit d4aa2027c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 84 additions and 73 deletions

View file

@ -103,7 +103,7 @@ func Test_client_Push(t *testing.T) {
t.Run(tt.name, func(t *testing.T) {
c := New(tt.fields.config)
err := c.Push(tt.args.release)
_, err := c.Push(tt.args.release)
if tt.wantErr && assert.Error(t, err) {
assert.Equal(t, tt.err, err)
}