Add regression test for #13
This commit is contained in:
parent
d6677b3319
commit
3c854d342c
1 changed files with 6 additions and 0 deletions
|
@ -183,6 +183,12 @@ fn issue_1() {
|
|||
let _ = markup.to_string();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn issue_13() {
|
||||
let owned = String::from("yay");
|
||||
let _ = html! { $owned }.to_string();
|
||||
}
|
||||
|
||||
mod control {
|
||||
#[test]
|
||||
fn if_expr() {
|
||||
|
|
Loading…
Add table
Reference in a new issue