File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2234,7 +2234,9 @@ void runTests({
2234
2234
2235
2235
test ('reloadSources' , () async {
2236
2236
final service = context.service;
2237
- final report = await service.reloadSources ('' );
2237
+ final vm = await service.getVM ();
2238
+ final isolateId = vm.isolates! .first.id! ;
2239
+ final report = await service.reloadSources (isolateId);
2238
2240
// TODO(srujzs): This naturally fails regardless of the module format
2239
2241
// because we didn't set up prerequisite state (the reload scripts). We
2240
2242
// should create new tests for hot reload within DWDS and remove this
Original file line number Diff line number Diff line change @@ -436,8 +436,6 @@ void main() {
436
436
// Breakpoint should not be hit as it's now deleted. We should also see
437
437
// the old string still as the closure has not been reevaluated.
438
438
await callEvaluateAndExpectLog (oldCapturedString);
439
-
440
- await consoleSubscription.cancel ();
441
439
});
442
440
}, timeout: Timeout .factor (2 ));
443
441
You can’t perform that action at this time.
0 commit comments