From 1e4b52a2dc2f4ca0b8eab2d4a3760d8464fe1a3e Mon Sep 17 00:00:00 2001 From: Muhammad Hamza Date: Fri, 24 Jun 2022 19:40:24 +0500 Subject: [PATCH] Fix tests --- .../tests/html_macro/component-fail.stderr | 12 +++--- .../tests/html_macro/element-fail.stderr | 40 +++++++++---------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/packages/yew-macro/tests/html_macro/component-fail.stderr b/packages/yew-macro/tests/html_macro/component-fail.stderr index 2297008d628..e1e62501041 100644 --- a/packages/yew-macro/tests/html_macro/component-fail.stderr +++ b/packages/yew-macro/tests/html_macro/component-fail.stderr @@ -345,11 +345,11 @@ error[E0277]: the trait bound `{integer}: IntoPropValue` is not satisfie | ^ the trait `IntoPropValue` is not implemented for `{integer}` | = help: the following implementations were found: - <&'static str as IntoPropValue> + <&'static [(K, V)] as IntoPropValue>> + <&'static [T] as IntoPropValue>> <&'static str as IntoPropValue> - <&'static str as IntoPropValue>> <&'static str as IntoPropValue>> - and 27 others + and 31 others error[E0277]: the trait bound `{integer}: IntoPropValue` is not satisfied --> tests/html_macro/component-fail.rs:79:34 @@ -358,11 +358,11 @@ error[E0277]: the trait bound `{integer}: IntoPropValue` is not satisfie | ^ the trait `IntoPropValue` is not implemented for `{integer}` | = help: the following implementations were found: - <&'static str as IntoPropValue> + <&'static [(K, V)] as IntoPropValue>> + <&'static [T] as IntoPropValue>> <&'static str as IntoPropValue> - <&'static str as IntoPropValue>> <&'static str as IntoPropValue>> - and 27 others + and 31 others error[E0308]: mismatched types --> tests/html_macro/component-fail.rs:80:31 diff --git a/packages/yew-macro/tests/html_macro/element-fail.stderr b/packages/yew-macro/tests/html_macro/element-fail.stderr index c47e79d8d5d..de86b65d6d9 100644 --- a/packages/yew-macro/tests/html_macro/element-fail.stderr +++ b/packages/yew-macro/tests/html_macro/element-fail.stderr @@ -246,11 +246,11 @@ error[E0308]: mismatched types 40 | html! {