forked from quic-go/quic-go
Run gosimple on our tree
This commit is contained in:
@@ -58,7 +58,7 @@ var _ = Describe("Handshake integration tets", func() {
|
||||
}
|
||||
|
||||
expectDurationInRTTs := func(num int) {
|
||||
testDuration := time.Now().Sub(testStartedAt)
|
||||
testDuration := time.Since(testStartedAt)
|
||||
expectedDuration := time.Duration(num) * rtt
|
||||
Expect(testDuration).To(SatisfyAll(
|
||||
BeNumerically(">=", expectedDuration),
|
||||
|
||||
Reference in New Issue
Block a user