From 014dccd167a20f063515ca6afd36601c8cf5830c Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Fri, 4 Feb 2022 17:42:42 -0500 Subject: cpedict/cpedict_test.go: minor cleanups --- cpedict/cpedict_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3