Skip to content

Commit

Permalink
Merge pull request #1486 from dsnopek/fix-to-string-test
Browse files Browse the repository at this point in the history
Fix tests after upstream change to `Node::to_string()`
  • Loading branch information
dsnopek authored Jun 12, 2024
2 parents 7d4758e + 4f7439d commit c5986e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/project/main.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down

0 comments on commit c5986e6

Please sign in to comment.