Skip to content

Commit

Permalink
Fix trybuild.
Browse files Browse the repository at this point in the history
  • Loading branch information
futursolo committed Jan 30, 2023
1 parent 96b0624 commit d21200a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/yew-macro/tests/html_macro/element-fail.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,13 @@ error: `ref` can only be specified once
63 | html! { <input ref={()} ref={()} /> };
| ^^^

error: the tag `<input>` is a void element and cannot have children (hint: rewrite this as `<input/>`)
error: the tag `<input>` is a void element and cannot have children (hint: rewrite this as `<input />`)
--> tests/html_macro/element-fail.rs:66:13
|
66 | html! { <input type="text"></input> };
| ^^^^^^^^^^^^^^^^^^^

error: the tag `<iNpUt>` is a void element and cannot have children (hint: rewrite this as `<iNpUt/>`)
error: the tag `<iNpUt>` is a void element and cannot have children (hint: rewrite this as `<iNpUt />`)
--> tests/html_macro/element-fail.rs:68:13
|
68 | html! { <iNpUt type="text"></iNpUt> };
Expand Down

0 comments on commit d21200a

Please sign in to comment.