Skip to content

Commit 0428cb4

Browse files
committed
add a comment
1 parent 6fa39b0 commit 0428cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

itest/rust/src/virtual_methods_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ fn test_input_event(test_context: &TestContext) {
247247
let obj = Gd::<InputVirtualTest>::new_default();
248248
assert_eq!(obj.bind().event, None);
249249

250-
// Add to scene tree
251250
test_context.test_node.share().add_child(
252251
obj.share().upcast(),
253252
false,
@@ -258,6 +257,7 @@ fn test_input_event(test_context: &TestContext) {
258257
event.set_action("debug".into());
259258
event.set_pressed(true);
260259

260+
// We're running in headless mode, so Input.parse_input_event does not work
261261
test_context
262262
.root_node
263263
.share()

0 commit comments

Comments
 (0)