Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit af57e0a

Browse files
committed
update comments from dnfield@
1 parent 3673124 commit af57e0a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/e2e/lib/e2e_driver.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Future<void> main() => e2eDriver();
99
/// Adaptor to run E2E test using `flutter drive`.
1010
///
1111
/// `timeout` controls the longest time waited before the test ends.
12-
/// It is not necessarily the execution time for the test app.
13-
/// The test can and usually runs for shorter time if the test ends early.
12+
/// It is not necessarily the execution time for the test app: the test may
13+
/// finish sooner than the `timeout`.
1414
///
1515
/// `traceTimeline` flag controls if timeline and timeline summary should be
1616
/// collected.
@@ -33,6 +33,7 @@ Future<void> e2eDriver({
3333
bool traceTimeline = false,
3434
String testName,
3535
}) async {
36+
assert(timeout != null);
3637
assert(!traceTimeline || testName != null);
3738
final FlutterDriver driver = await FlutterDriver.connect();
3839
String jsonResult;

0 commit comments

Comments
 (0)