Unverified Commit 12eff1d5 authored by Danny Tuppeny's avatar Danny Tuppeny Committed by GitHub

Change from .first to .single to ensure this (#19981)

parent cb03ca1d
...@@ -195,7 +195,7 @@ class FlutterTestDriver { ...@@ -195,7 +195,7 @@ class FlutterTestDriver {
// Currently these tests only have a single isolate. If this // Currently these tests only have a single isolate. If this
// ceases to be the case, this code will need changing. // ceases to be the case, this code will need changing.
final VM vm = await vmService.getVM(); final VM vm = await vmService.getVM();
return await vm.isolates.first.load(); return await vm.isolates.single.load();
} }
Future<void> addBreakpoint(String path, int line) async { Future<void> addBreakpoint(String path, int line) async {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment