diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-24 14:31:36 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-24 14:31:36 +0100 |
commit | a6baebc7c2aa789eaba5b25a2b84b734cc6f9a3d (patch) | |
tree | 4dc13c06cc7f961af68c78cd42526985c82fb840 | |
parent | 9e6cb51939663a0b3e2d6f74a259cad84ae8a108 (diff) |
Fixup GDScript test using non-deterministic ids
Follow-up to #73870.
-rw-r--r-- | modules/gdscript/tests/scripts/runtime/features/groups_are_not_properties.gd | 6 | ||||
-rw-r--r-- | modules/gdscript/tests/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 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 |