diff options
Diffstat (limited to 'cpedict/cpedict_test.go')
-rw-r--r-- | cpedict/cpedict_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpedict/cpedict_test.go b/cpedict/cpedict_test.go index eca0aeb..6c7c280 100644 --- a/cpedict/cpedict_test.go +++ b/cpedict/cpedict_test.go @@ -28,8 +28,9 @@ func TestDictionaryXMLUnmarshal(t *testing.T) { // create xml decoder, decode xml d := xml.NewDecoder(gz) - var dict Dictionary + // decode xml, check for error + var dict Dictionary if err := d.Decode(&dict); err != nil { t.Error(err) return |