mirror of
https://github.com/aclindsa/ofxgo.git
synced 2024-11-22 03:30:04 -05:00
go vet
This commit is contained in:
parent
3099c5f00f
commit
2bbd1d424d
@ -46,7 +46,7 @@ func TestStatusCodeMeaning(t *testing.T) {
|
|||||||
|
|
||||||
s.Code = 999
|
s.Code = 999
|
||||||
if meaning, err := s.CodeMeaning(); len(meaning) != 0 || err == nil {
|
if meaning, err := s.CodeMeaning(); len(meaning) != 0 || err == nil {
|
||||||
t.Fatalf("Status.CodeMeaning unexpectedly succeeded with invalid Code\n", err)
|
t.Fatalf("Status.CodeMeaning unexpectedly succeeded with invalid Code\n")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -61,6 +61,6 @@ func TestStatusCodeConditions(t *testing.T) {
|
|||||||
|
|
||||||
s.Code = 999
|
s.Code = 999
|
||||||
if conditions, err := s.CodeConditions(); len(conditions) != 0 || err == nil {
|
if conditions, err := s.CodeConditions(); len(conditions) != 0 || err == nil {
|
||||||
t.Fatalf("Status.CodeConditions unexpectedly succeeded with invalid Code\n", err)
|
t.Fatalf("Status.CodeConditions unexpectedly succeeded with invalid Code\n")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user