From a3e418c1a48a057d82fc3faf927ebf1cd3da7227 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Tue, 17 Dec 2024 20:48:34 +0100 Subject: feedback --- src/test/InputTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/test') diff --git a/src/test/InputTest.cpp b/src/test/InputTest.cpp index 097667a..ce8ea44 100644 --- a/src/test/InputTest.cpp +++ b/src/test/InputTest.cpp @@ -215,7 +215,7 @@ TEST_F(InputTest, testButtonClick) { bool button_clicked = false; event_manager.subscribe([&](const ButtonPressEvent & event) { button_clicked = true; - EXPECT_EQ(event.meta_data.game_object_id, button_obj.id); + EXPECT_EQ(event.metadata.game_object_id, button_obj.id); return false; }); auto & button = button_obj.add_component