Skip to content

Commit 921f858

Browse files
committed
Update UI tests to new #[inherit] semantics
1 parent f3737e8 commit 921f858

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

gdnative/tests/ui.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ fn ui_tests() {
55
// NativeClass
66
t.pass("tests/ui/derive_pass.rs");
77
t.pass("tests/ui/derive_property_basic.rs");
8+
t.pass("tests/ui/derive_no_inherit.rs");
89
t.compile_fail("tests/ui/derive_fail_property_hint.rs");
9-
t.compile_fail("tests/ui/derive_fail_inherit.rs");
1010
t.compile_fail("tests/ui/derive_fail_inherit_param.rs");
1111
t.compile_fail("tests/ui/derive_fail_methods.rs");
1212
t.compile_fail("tests/ui/derive_fail_methods_param.rs");

gdnative/tests/ui/derive_fail_inherit.stderr

Lines changed: 0 additions & 7 deletions
This file was deleted.

gdnative/tests/ui/derive_fail_inherit.rs renamed to gdnative/tests/ui/derive_no_inherit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ struct Foo {}
55

66
#[methods]
77
impl Foo {
8-
fn new(_owner: &Node) -> Self {
8+
fn new(_owner: &Reference) -> Self {
99
Foo {}
1010
}
1111
}

0 commit comments

Comments
 (0)