summaryrefslogtreecommitdiffstats
path: root/tests/core/input/test_input_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core/input/test_input_event.h')
-rw-r--r--tests/core/input/test_input_event.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/core/input/test_input_event.h b/tests/core/input/test_input_event.h
index 6b4b80486c..c6a287e47b 100644
--- a/tests/core/input/test_input_event.h
+++ b/tests/core/input/test_input_event.h
@@ -43,7 +43,7 @@ TEST_CASE("[InputEvent] Signal is emitted when device is changed") {
Ref<InputEventKey> input_event;
input_event.instantiate();
- SIGNAL_WATCH(*input_event, SNAME("changed"));
+ SIGNAL_WATCH(*input_event, CoreStringName(changed));
Array args1;
Array empty_args;
empty_args.push_back(args1);
@@ -53,7 +53,7 @@ TEST_CASE("[InputEvent] Signal is emitted when device is changed") {
SIGNAL_CHECK("changed", empty_args);
CHECK(input_event->get_device() == 1);
- SIGNAL_UNWATCH(*input_event, SNAME("changed"));
+ SIGNAL_UNWATCH(*input_event, CoreStringName(changed));
}
TEST_CASE("[InputEvent] Test accumulate") {