aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpedict/cpedict_test.go3
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