Actually track nonce in test

This commit is contained in:
freddygv 2022-10-12 07:50:17 -06:00
parent c9d171c031
commit 4d1e7c4cbb
1 changed files with 1 additions and 0 deletions

View File

@ -1887,6 +1887,7 @@ func expectReplEvents(t *testing.T, client *MockClient, checkFns ...func(t *test
// Ensure every nonce was unique.
if resp := out[i].GetResponse(); resp != nil {
require.NotContains(t, nonces, resp.Nonce)
nonces[resp.Nonce] = struct{}{}
}
}
}