summaryrefslogtreecommitdiff
path: root/src/hub/src/spreadspace.org/sfive/s5cvt_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/hub/src/spreadspace.org/sfive/s5cvt_test.go')
-rw-r--r--src/hub/src/spreadspace.org/sfive/s5cvt_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hub/src/spreadspace.org/sfive/s5cvt_test.go b/src/hub/src/spreadspace.org/sfive/s5cvt_test.go
index 2326911..32f35dd 100644
--- a/src/hub/src/spreadspace.org/sfive/s5cvt_test.go
+++ b/src/hub/src/spreadspace.org/sfive/s5cvt_test.go
@@ -18,7 +18,7 @@ var (
func GetExpected() *StatisticsData {
expected := new(StatisticsData)
- expected.CopyFrom(&sourceIdDataStruct)
+ expected.CopyFromSourceId(&sourceIdDataStruct)
expected.CopyFromUpdate(&updateDataStruct)
return expected
}
@@ -56,7 +56,7 @@ func TestDecodePlain(t *testing.T) {
func TestEncode(t *testing.T) {
ec := new(PlainEncoder)
td := new(StatisticsData)
- td.CopyFrom(&sourceIdDataStruct)
+ td.CopyFromSourceId(&sourceIdDataStruct)
td.CopyFromUpdate(&updateDataStruct)
t.Logf("dada: %v", ec.Encode(td))
}