diff options
author | Paul Duncan <pabs@pablotron.org> | 2022-02-04 17:42:42 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2022-02-04 17:42:42 -0500 |
commit | 014dccd167a20f063515ca6afd36601c8cf5830c (patch) | |
tree | cbbd39508f570fb7fff185bcfbe786b2e6772dde /cpedict | |
parent | 0f049721c6ab5b12d9425f908d1ff8c6c71a82cf (diff) | |
download | cvez-014dccd167a20f063515ca6afd36601c8cf5830c.tar.bz2 cvez-014dccd167a20f063515ca6afd36601c8cf5830c.zip |
cpedict/cpedict_test.go: minor cleanups
Diffstat (limited to 'cpedict')
-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 |