Fix the kernel path in the DartPersistentHandleTest.ClearAfterShutdown test (flutter/engine#25585)

This commit is contained in:
Jason Simmons
2021-04-14 08:36:29 -07:00
committed by GitHub
parent e5a0923572
commit 662fdf023c

View File

@@ -26,8 +26,9 @@ class DartPersistentHandleTest : public FixtureTest {
if (running_isolate_) {
return false;
}
auto isolate = RunDartCodeInIsolate(vm_, settings_, task_runners_,
entrypoint, {}, GetFixturesPath());
auto isolate =
RunDartCodeInIsolate(vm_, settings_, task_runners_, entrypoint, {},
GetDefaultKernelFilePath());
if (!isolate || isolate->get()->GetPhase() != DartIsolate::Phase::Running) {
return false;
}