Merge pull request #1486 from dsnopek/fix-to-string-test

Fix tests after upstream change to `Node::to_string()`
pull/1485/head
David Snopek 2024-06-12 10:31:38 -05:00 committed by GitHub
commit c5986e666f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ func _ready():
assert_equal(custom_signal_emitted, ["Button", 42])
# To string.
assert_equal(example.to_string(),'Example:[ GDExtension::Example <--> Instance ID:%s ]' % example.get_instance_id())
assert_equal(example.to_string(),'[ GDExtension::Example <--> Instance ID:%s ]' % example.get_instance_id())
# It appears there's a bug with instance ids :-(
#assert_equal($Example/ExampleMin.to_string(), 'ExampleMin:[Wrapped:%s]' % $Example/ExampleMin.get_instance_id())