Run gosimple on our tree

This commit is contained in:
Lucas Clemente
2017-06-06 09:33:46 +02:00
parent 2f551a7cbe
commit 4f93969101
2 changed files with 3 additions and 3 deletions

View File

@@ -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),