Skip to content
Snippets Groups Projects
Commit adc3c7f1 authored by Niall Sheridan's avatar Niall Sheridan
Browse files

Use %T instead of reflect.

parent a30d6403
No related branches found
No related tags found
No related merge requests found
......@@ -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)
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment