summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.gd6
-rw-r--r--modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.out4
2 files changed, 6 insertions, 4 deletions
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 d205da22c2..a5ad7c0b85 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 a1a2ff6cd9..182c6dcd3a 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 <Resource#-9223371975785708326>
-Not shadowed <RefCounted#-9223371975768931110>
+Resource class not shadowed: true
+RefCounted class not shadowed: true