Commit 607b7a98 authored by Manuel Kieweg's avatar Manuel Kieweg 🤷
Browse files

go fmt

parent e3e8292c
......@@ -274,7 +274,7 @@ func TestGnmi_SubscribeIntegration(t *testing.T) {
go func() {
subErr := g.Subscribe(ctx)
if (subErr != nil) != wantErr {
if !wantErr && subErr != nil{
if !wantErr && subErr != nil {
if subErr.Error() != "rpc error: code = Canceled desc = context canceled" {
t.Errorf("Subscribe() error = %v, wantErr %v", err, tt.wantErr)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment