Skip to content
Snippets Groups Projects
Commit 607b7a98 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

go fmt

parent e3e8292c
No related branches found
No related tags found
2 merge requests!124Resolve "Job Failed #246137",!90Develop
Pipeline #67422 passed
......@@ -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)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment