diff --git a/modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.gd b/modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.gd index d205da22c2c867..a5ad7c0b851abf 100644 --- a/modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.gd +++ b/modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.gd @@ -5,5 +5,7 @@ extends RefCounted @export_category("RefCounted") func test(): - prints("Not shadowed", Resource.new()) - prints("Not shadowed", RefCounted.new()) + var res = Resource.new() + var ref = RefCounted.new() + prints("Resource class not shadowed:", res is Resource) + prints("RefCounted class not shadowed:", ref is RefCounted) diff --git a/modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.out b/modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.out index a1a2ff6cd9e4ed..182c6dcd3a9cea 100644 --- a/modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.out +++ b/modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.out @@ -1,3 +1,3 @@ GDTEST_OK -Not shadowed -Not shadowed +Resource class not shadowed: true +RefCounted class not shadowed: true