ref: 5f443bd45bd63c10796fc340985fddf218c7ef0d
parent: f039e3be9e4a11808508c8cd3043b340deea040f
author: Bjørn Erik Pedersen <[email protected]>
date: Sat Mar 11 14:07:32 EST 2017
commands: t.Error => t.Errorf
--- a/commands/undraft_test.go
+++ b/commands/undraft_test.go
@@ -52,7 +52,7 @@
res, err := undraftContent(p)
if test.expectedErr != "" {
if err == nil {
- t.Error("[%d] Expected error, got none", i)
+ t.Errorf("[%d] Expected error, got none", i)
continue
}
if err.Error() != test.expectedErr {