Run go vet
Bugs found.
This commit is contained in:
parent
8118c8d3cc
commit
bf6412b55d
12 changed files with 28 additions and 14 deletions
|
|
@ -644,7 +644,7 @@ func TestDecoder(t *testing.T) {
|
|||
q, err := dec.Unmarshal()
|
||||
if err != nil {
|
||||
if err != io.EOF {
|
||||
t.Fatalf("Failed to read document:", err)
|
||||
t.Fatalf("Failed to read document: %v", err)
|
||||
}
|
||||
break
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue