You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-31 18:41:20 +00:00
Use RequiredParam/RequiredResult in some high value places
This commit is contained in:
@@ -1783,7 +1783,7 @@ TEST_CASE("[SceneTree][SplitContainer] More children") {
|
||||
|
||||
SUBCASE("[SplitContainer] Duplicate") {
|
||||
// Make sure dynamically added internal draggers duplicate properly.
|
||||
SplitContainer *duplicate = (SplitContainer *)split_container->duplicate();
|
||||
SplitContainer *duplicate = (SplitContainer *)(Node *)split_container->duplicate();
|
||||
MessageQueue::get_singleton()->flush();
|
||||
CHECK(duplicate->get_child_count(false) == split_container->get_child_count(false));
|
||||
CHECK(duplicate->get_child_count(true) == split_container->get_child_count(true));
|
||||
|
||||
@@ -291,7 +291,7 @@ TEST_CASE("[SceneTree][Viewport] Controls and InputEvent handling") {
|
||||
|
||||
SUBCASE("[Viewport][GuiInputEvent] nullptr as argument doesn't lead to a crash.") {
|
||||
ERR_PRINT_OFF;
|
||||
root->push_input(nullptr);
|
||||
root->push_input(Ref<InputEvent>());
|
||||
ERR_PRINT_ON;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user