Commit 26b46ac4 authored by Michael de Hoog's avatar Michael de Hoog

Remove redundant requires

parent 9dc99330
...@@ -231,8 +231,6 @@ func TestSend(t *testing.T) { ...@@ -231,8 +231,6 @@ func TestSend(t *testing.T) {
// expect the execution time within a certain window // expect the execution time within a certain window
now := time.Now() now := time.Now()
require.WithinDuration(t, now.Add(test.total), now.Add(duration), 500*time.Millisecond, "unexpected queue transaction timing") require.WithinDuration(t, now.Add(test.total), now.Add(duration), 500*time.Millisecond, "unexpected queue transaction timing")
require.Greater(t, duration, test.total, "test was faster than expected")
require.Less(t, duration, test.total+500*time.Millisecond, "test was slower than expected")
// check that the nonces match // check that the nonces match
slices.Sort(nonces) slices.Sort(nonces)
require.Equal(t, test.nonces, nonces, "expected nonces do not match") require.Equal(t, test.nonces, nonces, "expected nonces do not match")
......
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