rpc/server: fix small bug in subscription test

This commit is contained in:
Evgenii Stratonikov 2020-09-23 11:47:10 +03:00
parent af16519413
commit e8eb177c64

View file

@ -100,7 +100,7 @@ func TestSubscriptions(t *testing.T) {
resp := getNotification(t, respMsgs)
require.Equal(t, response.ExecutionEventID, resp.Event)
for {
resp := getNotification(t, respMsgs)
resp = getNotification(t, respMsgs)
if resp.Event != response.NotificationEventID {
break
}