nit: mark test helper

This commit is contained in:
Steven Allen 2018-10-01 15:41:44 -07:00
parent 61e31ed48b
commit 0f158f1163
1 changed files with 1 additions and 0 deletions

View File

@ -179,6 +179,7 @@ func TestStringToBytes(t *testing.T) {
func TestBytesToString(t *testing.T) {
testString := func(s1 string, h string) {
t.Helper()
b, err := hex.DecodeString(h)
if err != nil {
t.Error("failed to decode hex", h)