testify/assert
Olivier Mengué e8837d5396 assert: fix TestEventuallyTimeout
Fix TestEventuallyIssue805 which was flaky because of the use of a timer
that has exactly the same duration as the Eventually timout. But time is
not a synchronization primitive.

Now we use channels to ensure that the condition is still running and
Eventually times out before checking its return value.

The test is also renamed to TestEventuallyTimeout to more clearly show
its purpose.
2023-10-16 21:12:04 +02:00
..
assertion_compare.go Remove canConvert because Go 1.16 is dropped from support 2023-10-10 14:28:34 +02:00
assertion_compare_test.go Remove canConvert because Go 1.16 is dropped from support 2023-10-10 14:28:34 +02:00
assertion_format.go Merge pull request #1406 from dolmen-go/use-std-header-for-generated-code 2023-07-22 08:51:09 +02:00
assertion_format.go.tmpl Fix vim-go integration and other editors 2018-02-02 18:39:40 +00:00
assertion_forward.go Merge pull request #1406 from dolmen-go/use-std-header-for-generated-code 2023-07-22 08:51:09 +02:00
assertion_forward.go.tmpl Fix vim-go integration and other editors 2018-02-02 18:39:40 +00:00
assertion_order.go EqualExportedValues: Handle nested pointer, slice and map fields (#1379) 2023-05-11 07:42:04 +10:00
assertion_order_test.go add tests for correct msgAndArgs forwarding 2022-02-10 20:09:05 +10:00
assertions.go Combine switch cases, difference wrapped in if statement 2023-10-16 00:55:57 +02:00
assertions_test.go assert: fix TestEventuallyTimeout 2023-10-16 21:12:04 +02:00
doc.go EqualExportedValues: Handle nested pointer, slice and map fields (#1379) 2023-05-11 07:42:04 +10:00
errors.go Clean up golint warnings 2014-06-18 09:28:16 -06:00
forward_assertions.go Make _codegen its own module so that its dependencies do not pollute the root modules dependency graph 2019-12-09 10:12:49 -07:00
forward_assertions_test.go Add ErrorContains 2021-01-16 12:32:05 +11:00
http_assertions.go assert: fix httpCode and HTTPBody occur panic when http.Handler read body 2023-10-15 23:34:32 +02:00
http_assertions_test.go assert: fix httpCode and HTTPBody occur panic when http.Handler read body 2023-10-15 23:34:32 +02:00