diff options
Diffstat (limited to 'src/hub/src/spreadspace.org/sfive/s5cvt_test.go')
-rw-r--r-- | src/hub/src/spreadspace.org/sfive/s5cvt_test.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/hub/src/spreadspace.org/sfive/s5cvt_test.go b/src/hub/src/spreadspace.org/sfive/s5cvt_test.go index 5b53160..418d154 100644 --- a/src/hub/src/spreadspace.org/sfive/s5cvt_test.go +++ b/src/hub/src/spreadspace.org/sfive/s5cvt_test.go @@ -24,7 +24,11 @@ func GetExpected() *StatisticsData { } func TestDecodeStateful(t *testing.T) { - dc := NewStatefulDecoder([]byte(sourceIdData)) + dc, err := NewStatefulDecoder([]byte(sourceIdData)) + if err != nil { + t.Errorf("Creating decoder failed with %v", err) + return + } dat, err := dc.Decode([]byte(testData)) if err != nil { t.Errorf("Decode failed with %v", err) |