Skip to content
Snippets Groups Projects
Commit 7e8c1c4f authored by Malte Bauch's avatar Malte Bauch Committed by Fabian Seidl
Browse files

fix test case wrong if clause

parent ba5a06ee
No related branches found
No related tags found
1 merge request!238Stfaseid http refactor
......@@ -166,8 +166,8 @@ func Test_unmarshal(t *testing.T) {
}
bytes := resp.Notification[0].Update[0].Val.GetJsonIetfVal()
oc, err := NewSBI(spb.Type_TYPE_OPENCONFIG)
if (err != nil) != tt.wantErr {
t.Errorf("Unmarshal() error = %v, wantErr %v", err, tt.wantErr)
if err != nil {
t.Errorf("unmarshal() error = %v", err)
return
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment