From 662fdf023c88576f6b89e5373aec8cf316216bc4 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Wed, 14 Apr 2021 08:36:29 -0700 Subject: [PATCH] Fix the kernel path in the DartPersistentHandleTest.ClearAfterShutdown test (flutter/engine#25585) --- .../tonic/tests/dart_persistent_handle_unittest.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/third_party/tonic/tests/dart_persistent_handle_unittest.cc b/engine/src/flutter/third_party/tonic/tests/dart_persistent_handle_unittest.cc index a0d3d39ea1..bcd6c92664 100644 --- a/engine/src/flutter/third_party/tonic/tests/dart_persistent_handle_unittest.cc +++ b/engine/src/flutter/third_party/tonic/tests/dart_persistent_handle_unittest.cc @@ -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; }