diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2016-09-11 20:40:26 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2016-09-11 20:40:26 +0100 |
commit | adc3c7f16051d51a58d96e32082aaeb051e3da20 (patch) | |
tree | e7392468d78abf41cdd02e0bdf465784275f0662 /client | |
parent | a30d6403f723765b8f9b7609e7eb3ade0f5434a0 (diff) |
Use %T instead of reflect.
Diffstat (limited to 'client')
-rw-r--r-- | client/keys_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/keys_test.go b/client/keys_test.go index 9e930d5..d98a982 100644 --- a/client/keys_test.go +++ b/client/keys_test.go @@ -22,7 +22,7 @@ func TestGenerateKeys(t *testing.T) { t.Error(err) } if reflect.TypeOf(k).String() != tst.want { - t.Errorf("Wrong key type returned. Got %s, wanted %s", reflect.TypeOf(k).String(), tst.want) + t.Errorf("Wrong key type returned. Got %T, wanted %s", k, tst.want) } } } |