summaryrefslogtreecommitdiffstats
path: root/tests/scene/test_viewport.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scene/test_viewport.h')
-rw-r--r--tests/scene/test_viewport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/scene/test_viewport.h b/tests/scene/test_viewport.h
index 62f4635927..d76fc40125 100644
--- a/tests/scene/test_viewport.h
+++ b/tests/scene/test_viewport.h
@@ -221,7 +221,9 @@ TEST_CASE("[SceneTree][Viewport] Controls and InputEvent handling") {
}
SUBCASE("[Viewport][GuiInputEvent] nullptr as argument doesn't lead to a crash.") {
+ ERR_PRINT_OFF;
CHECK_NOTHROW(root->push_input(nullptr));
+ ERR_PRINT_ON;
}
// Unit tests for Viewport::_gui_input_event (Mouse Buttons)