From 3140c195e646fd389645ee4abbe09d8198bf7477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 24 Feb 2023 14:31:36 +0100 Subject: [PATCH] Fixup GDScript test using non-deterministic ids Follow-up to #73870. --- .../scripts/runtime/features/groups_are_not_properties.gd | 6 ++++-- .../scripts/runtime/features/groups_are_not_properties.out | 4 ++-- 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 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