Browse Source

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

Fix tests after upstream change to `Node::to_string()`
David Snopek 1 year ago
parent
commit
c5986e666f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/project/main.gd

+ 1 - 1
test/project/main.gd

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