// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.import'package:flutter_test/flutter_test.dart';voidmain(){testWidgets('flutter_test timeout logic - addTime - positive',(WidgetTestertester)async{awaittester.runAsync(()async{
awaitFuture<void>.delayed(constDuration(milliseconds:2500));// must be longer than initial timeout below.},additionalTime:constDuration(milliseconds:2000));// initial timeout is 2s, so this makes it 4s.},initialTimeout:constDuration(milliseconds:2000));