mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
make sure this test doesnt run for real (#34199)
This commit is contained in:
parent
d850d69c3f
commit
7feddfdec0
@ -35,7 +35,11 @@ class TestBinding extends LiveTestWidgetsFlutterBinding {
|
||||
}
|
||||
|
||||
void main() {
|
||||
final TestBinding binding = TestBinding();
|
||||
TestBinding binding;
|
||||
|
||||
setUp(() {
|
||||
binding = TestBinding();
|
||||
});
|
||||
|
||||
test('test pumpBenchmark() only runs one frame', () async {
|
||||
await benchmarkWidgets((WidgetTester tester) async {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user