Skip to content

Commit

Permalink
Fix vet warnings and go generate to update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ernesto-jimenez committed May 29, 2017
1 parent 3104bf5 commit dd232a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assert/assertions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ func TestNoError(t *testing.T) {
}()

if err == nil { // err is not nil here!
t.Error("Error should be nil due to empty interface", err)
t.Errorf("Error should be nil due to empty interface: %s", err)
}

False(t, NoError(mockT, err), "NoError should fail with empty error interface")
Expand Down Expand Up @@ -724,7 +724,7 @@ func TestError(t *testing.T) {
}()

if err == nil { // err is not nil here!
t.Error("Error should be nil due to empty interface", err)
t.Errorf("Error should be nil due to empty interface: %s", err)
}

True(t, Error(mockT, err), "Error should pass with empty error interface")
Expand Down

0 comments on commit dd232a2

Please sign in to comment.