1
0
mirror of https://github.com/fumiama/go-base16384.git synced 2026-06-09 12:30:50 +08:00

优化 api

This commit is contained in:
fumiama
2021-10-28 14:05:38 +08:00
parent b764251f95
commit 86dc5b5b23
3 changed files with 7 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ func TestBase14(t *testing.T) {
d, err := UTF82utf16be(es)
if string(d) == string(e) {
if err == nil {
ds := string(Decode(d))
ds := DecodeString(d)
t.Log(ds)
if ds != teststr {
t.Fail()