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

Commit 8100ef1

Browse files
committed
Add SuccessResponse to ON_CALL
1 parent d7ee743 commit 8100ef1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shell/platform/linux/fl_platform_plugin_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,10 @@ TEST(FlPlatformPluginTest, ExitApplication) {
114114
EXPECT_NE(plugin, nullptr);
115115
g_autoptr(FlJsonMethodCodec) codec = fl_json_method_codec_new();
116116

117+
g_autoptr(FlValue) null = fl_value_new_null();
117118
ON_CALL(messenger, fl_binary_messenger_send_response(
118119
::testing::Eq<FlBinaryMessenger*>(messenger),
119-
::testing::_, ::testing::_, ::testing::_))
120+
::testing::_, SuccessResponse(null), ::testing::_))
120121
.WillByDefault(testing::Return(TRUE));
121122

122123
// Indicate that the binding is initialized.

0 commit comments

Comments
 (0)