Skip to content

Commit c5986e6

Browse files
authored
Merge pull request #1486 from dsnopek/fix-to-string-test
Fix tests after upstream change to `Node::to_string()`
2 parents 7d4758e + 4f7439d commit c5986e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/project/main.gd

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func _ready():
1414
assert_equal(custom_signal_emitted, ["Button", 42])
1515

1616
# To string.
17-
assert_equal(example.to_string(),'Example:[ GDExtension::Example <--> Instance ID:%s ]' % example.get_instance_id())
17+
assert_equal(example.to_string(),'[ GDExtension::Example <--> Instance ID:%s ]' % example.get_instance_id())
1818
# It appears there's a bug with instance ids :-(
1919
#assert_equal($Example/ExampleMin.to_string(), 'ExampleMin:[Wrapped:%s]' % $Example/ExampleMin.get_instance_id())
2020

0 commit comments

Comments
 (0)