Skip to content

Commit 7feddfd

Browse files
author
Jonah Williams
authored
make sure this test doesnt run for real (flutter#34199)
1 parent d850d69 commit 7feddfd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/flutter/test/scheduler/benchmarks_test.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ class TestBinding extends LiveTestWidgetsFlutterBinding {
3535
}
3636

3737
void main() {
38-
final TestBinding binding = TestBinding();
38+
TestBinding binding;
39+
40+
setUp(() {
41+
binding = TestBinding();
42+
});
3943

4044
test('test pumpBenchmark() only runs one frame', () async {
4145
await benchmarkWidgets((WidgetTester tester) async {

0 commit comments

Comments
 (0)