Skip to content

Commit

Permalink
Derive Var and Export for DynGd<T, D>
Browse files Browse the repository at this point in the history
- Add better errors message for `test_export_dyn_gd_should_fail_for_wrong_type` testcase
  • Loading branch information
Yarwin committed Jan 6, 2025
1 parent 5a7e2aa commit b1262c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion itest/godot/ManualFfiTests.gd
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func test_export_dyn_gd_should_fail_for_wrong_type():
dyn_gd_exporter.only_node_health = refc # Should fail.
enable_error_messages()

assert_fail("`DynGdExporter.only_node_health` should only accept NodeHealth if it implements InstanceIdProvider trait")
assert_fail("`DynGdExporter.only_node_health` should only accept NodeHealth and only if it implements `InstanceIdProvider` trait")

class MockObjGd extends Object:
var i: int = 0
Expand Down

0 comments on commit b1262c3

Please sign in to comment.