Chromium Code Reviews
DescriptionDefend against false positives
If a seemingly non-async test returns a Future, wait on it. I noticed this on an earlier CL today related to the await_in_cascade_test - the test was broken, but we were falsely passing.
This still doesn't handle false negatives (e.g., tests that are expected to fail). That's why many of these are marked skip_fail. If the exception happens after main returns, we currently don't see it.
R=jmesserly@google.com
Committed: https://github.com/dart-lang/sdk/commit/580186a655661ce204c9b18797446b75b632e016
Patch Set 1 #Patch Set 2 : Undo last test change #
Messages
Total messages: 7 (3 generated)
|
||||||||||||||||||||||||||||