From 1750a453d08e179a84bb35e0407b9e226c4e4ff2 Mon Sep 17 00:00:00 2001 From: Jan Haller Date: Mon, 23 Sep 2024 00:00:15 +0200 Subject: [PATCH] trigger todo --- itest/rust/src/object_tests/object_test.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/itest/rust/src/object_tests/object_test.rs b/itest/rust/src/object_tests/object_test.rs index b5cf9cbad..91ab8c22d 100644 --- a/itest/rust/src/object_tests/object_test.rs +++ b/itest/rust/src/object_tests/object_test.rs @@ -98,6 +98,17 @@ fn object_engine_roundtrip() { obj.free(); } +#[itest(focus)] +fn object_null_argument() { + let null_obj = Option::>::None; + + let via = null_obj.to_godot(); + let ffi = via.to_ffi(); + //dbg!(ffi); + + ffi.to_godot(); +} + #[itest] fn object_user_display() { let obj = Gd::from_object(RefcPayload { value: 774 });