diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-03-11 19:07:32 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-03-11 19:07:32 +0100 |
commit | 5f443bd45bd63c10796fc340985fddf218c7ef0d (patch) | |
tree | 7c4201593ce0aafa0f47ed11e9c771016509b87d /commands | |
parent | f039e3be9e4a11808508c8cd3043b340deea040f (diff) |
commands: t.Error => t.Errorf
Diffstat (limited to 'commands')
-rw-r--r-- | commands/undraft_test.go | 2 |
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 { |