summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-03-11 19:07:32 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-03-11 19:07:32 +0100
commit5f443bd45bd63c10796fc340985fddf218c7ef0d (patch)
tree7c4201593ce0aafa0f47ed11e9c771016509b87d /commands
parentf039e3be9e4a11808508c8cd3043b340deea040f (diff)
commands: t.Error => t.Errorf
Diffstat (limited to 'commands')
-rw-r--r--commands/undraft_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/undraft_test.go b/commands/undraft_test.go
index 6ed172205..d302d31c5 100644
--- a/commands/undraft_test.go
+++ b/commands/undraft_test.go
@@ -52,7 +52,7 @@ func TestUndraftContent(t *testing.T) {
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 {