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
Branches
No related tags found
1 merge request!238Stfaseid http refactor
This commit is part of merge request !238. Comments created here will be created in the context of that merge request.
......@@ -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