You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These tests actually worked as expected, even though we didn't await
for the Future returned by FutureChecks.throws.
This is because checks ensure that the asychronous expectations are
complete before the test ends.
Nonetheless, we should use await so that our intention is explicit
(i.e. the future completes with an error as opposed to the future
never completes and can't be awaited).
See also:
https://github.com/dart-lang/test/tree/master/pkgs/checks#checking-asynchronous-expectations
Signed-off-by: Zixuan James Li <[email protected]>
0 commit comments