From 8e2d24cbab3867a80b73933a90c75855ef9cfc70 Mon Sep 17 00:00:00 2001 From: Igor Aleksanov Date: Mon, 1 Jul 2024 14:47:55 +0400 Subject: [PATCH] Fix failing test --- .../tests/ui/incorrect/04_field_crate_attr.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/node/node_framework/tests/ui/incorrect/04_field_crate_attr.rs b/core/node/node_framework/tests/ui/incorrect/04_field_crate_attr.rs index d60a2147fedf..48c17222333f 100644 --- a/core/node/node_framework/tests/ui/incorrect/04_field_crate_attr.rs +++ b/core/node/node_framework/tests/ui/incorrect/04_field_crate_attr.rs @@ -26,13 +26,13 @@ impl Task for TaskA { #[derive(IntoContext)] struct SimpleStruct { - #[context(crate = "a")] + #[context(crate = a)] _field: ResourceA, } #[derive(IntoContext)] struct SimpleStruct2 { - #[context(crate = "b")] + #[context(crate = b)] _field: ResourceA, #[context(task)] _field_2: TaskA, @@ -41,7 +41,7 @@ struct SimpleStruct2 { #[derive(IntoContext)] struct SimpleStruct3 { _field: ResourceA, - #[context(task, crate = "c")] + #[context(task, crate = c)] _field_2: TaskA, }