Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 19b4e40

Browse files
committed
Format.
1 parent 8592424 commit 19b4e40

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

shell/common/shell_unittests.cc

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3948,14 +3948,13 @@ TEST_F(ShellTest, NotifyDestroyed) {
39483948
ASSERT_TRUE(ValidateShell(shell.get()));
39493949

39503950
fml::CountDownLatch latch(1);
3951-
AddNativeCallback(
3952-
"NotifyDestroyedBool", CREATE_NATIVE_ENTRY([&](auto args) {
3953-
auto runtime_controller = const_cast<RuntimeController*>(
3954-
shell->GetEngine()->GetRuntimeController());
3955-
bool success = runtime_controller->NotifyDestroyed();
3956-
EXPECT_TRUE(success);
3957-
latch.CountDown();
3958-
}));
3951+
AddNativeCallback("NotifyDestroyedBool", CREATE_NATIVE_ENTRY([&](auto args) {
3952+
auto runtime_controller = const_cast<RuntimeController*>(
3953+
shell->GetEngine()->GetRuntimeController());
3954+
bool success = runtime_controller->NotifyDestroyed();
3955+
EXPECT_TRUE(success);
3956+
latch.CountDown();
3957+
}));
39593958

39603959
auto configuration = RunConfiguration::InferFromSettings(settings);
39613960
configuration.SetEntrypoint("callNotifyDestroyed");

0 commit comments

Comments
 (0)