aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--type_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/type_test.go b/type_test.go
index 1389467..0033ec8 100644
--- a/type_test.go
+++ b/type_test.go
@@ -311,7 +311,7 @@ func TestEncDecStItem(t *testing.T) {
item: NewChecksumV1(testPackage, make([]byte, checksumMax)),
},
} {
- b, err := table.item.Marshal()
+ b, err := table.item.MarshalB64()
if err != nil && !table.wantErr {
t.Errorf("failed marshaling StItem(%s) in test %q: %v", table.item.Format, table.description, err)
} else if err == nil && table.wantErr {
@@ -322,7 +322,7 @@ func TestEncDecStItem(t *testing.T) {
}
var item StItem
- if err := item.Unmarshal(b); err != nil {
+ if err := item.UnmarshalB64(b); err != nil {
t.Errorf("failed unmarshaling StItem(%s) in test %q: %v", table.item.Format, table.description, err)
}
}