Fix vet warnings and go generate to update docs

pull/450/head
Ernesto Jiménez 2016-09-24 18:22:00 +01:00 committed by Ernesto Jiménez
parent 3104bf5483
commit c33f336b92
1 changed files with 2 additions and 2 deletions

View File

@ -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")
@ -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")