Fixup GDScript test using non-deterministic ids

Follow-up to #73870.
This commit is contained in:
Rémi Verschelde 2023-02-24 14:31:36 +01:00
parent 9e6cb51939
commit a6baebc7c2
No known key found for this signature in database
GPG Key ID: C3336907360768E1
2 changed files with 6 additions and 4 deletions

View File

@ -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)

View File

@ -1,3 +1,3 @@
GDTEST_OK
Not shadowed <Resource#-9223371975785708326>
Not shadowed <RefCounted#-9223371975768931110>
Resource class not shadowed: true
RefCounted class not shadowed: true