[fuchsia] Fix isolate filter (#30458)
This commit is contained in:
@@ -241,7 +241,7 @@ void main() {
|
||||
'type': '@Isolate',
|
||||
'fixedId': 'true',
|
||||
'id': 'isolates/3',
|
||||
'name': 'file://flutterBinary2:main()',
|
||||
'name': 'flutterBinary.cmx',
|
||||
'number': '3',
|
||||
},
|
||||
<String, dynamic>{
|
||||
@@ -268,13 +268,9 @@ void main() {
|
||||
await DartVm.connect(Uri.parse('http://whatever.com/ws'));
|
||||
expect(vm, isNot(null));
|
||||
final List<IsolateRef> matchingFlutterIsolates =
|
||||
await vm.getMainIsolatesByPattern('flutterBinary');
|
||||
await vm.getMainIsolatesByPattern('flutterBinary.cmx');
|
||||
expect(matchingFlutterIsolates.length, 1);
|
||||
final List<IsolateRef> allFlutterIsolates =
|
||||
await vm.getMainIsolatesByPattern('');
|
||||
expect(allFlutterIsolates.length, 2);
|
||||
final List<IsolateRef> allIsolates = await vm.getMainIsolatesByPattern('',
|
||||
includeNonFlutterIsolates: true);
|
||||
final List<IsolateRef> allIsolates = await vm.getMainIsolatesByPattern('');
|
||||
expect(allIsolates.length, 4);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user