diff options
author | David Snopek <dsnopek@gmail.com> | 2024-06-14 09:39:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-14 09:39:46 -0500 |
commit | 5d8f80bc5578a2312d271d854745a172dad56501 (patch) | |
tree | 5edad0345eb3f085ba44ffcfebef705500520ed0 /test/project | |
parent | ee9acbcf109486eec3827d84ff033387762bccb7 (diff) | |
parent | 76cbc66785104756d6b37d16e8eb85dccc0497e8 (diff) | |
download | redot-cpp-5d8f80bc5578a2312d271d854745a172dad56501.tar.gz |
Merge pull request #1446 from Daylily-Zeleen/daylily-zeleen/set_instance_and_instance_biding_in_Wrapped_constructor
Set instance and instance binding in `Wrapped` constructor.
Diffstat (limited to 'test/project')
-rw-r--r-- | test/project/main.gd | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/project/main.gd b/test/project/main.gd index 50df65e..7533dcc 100644 --- a/test/project/main.gd +++ b/test/project/main.gd @@ -9,6 +9,9 @@ class TestClass: func _ready(): var example: Example = $Example + # Timing of set instance binding. + assert_equal(example.is_object_binding_set_by_parent_constructor(), true) + # Signal. example.emit_custom_signal("Button", 42) assert_equal(custom_signal_emitted, ["Button", 42]) |