diff --git a/multibase_test.go b/multibase_test.go index d688e66..f389f5c 100644 --- a/multibase_test.go +++ b/multibase_test.go @@ -7,13 +7,13 @@ import ( ) func TestMap(t *testing.T) { - for s,e := range Encodings { + for s, e := range Encodings { s2 := EncodingToStr[e] if s != s2 { t.Errorf("round trip failed on encoding map: %s != %s", s, s2) } } - for e,s := range EncodingToStr { + for e, s := range EncodingToStr { e2 := Encodings[s] if e != e2 { t.Errorf("round trip failed on encoding map: '%c' != '%c'", e, e2)