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({
22342234
22352235 test ('reloadSources' , () async {
22362236 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);
22382240 // TODO(srujzs): This naturally fails regardless of the module format
22392241 // because we didn't set up prerequisite state (the reload scripts). We
22402242 // 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() {
436436 // Breakpoint should not be hit as it's now deleted. We should also see
437437 // the old string still as the closure has not been reevaluated.
438438 await callEvaluateAndExpectLog (oldCapturedString);
439-
440- await consoleSubscription.cancel ();
441439 });
442440 }, timeout: Timeout .factor (2 ));
443441
You can’t perform that action at this time.
0 commit comments