Skip to content

Commit

Permalink
Fix test failures due to different tag format
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Vollmer committed Jan 11, 2020
1 parent ee1bc32 commit f83af59
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions template_yarte/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ mod test {
Bytes::from_static(
"<!DOCTYPE html>\
<html>\
<head><meta charset=\"utf-8\" /><title>Actix web</title></head><body>\
<head><meta charset=\"utf-8\"><title>Actix web</title></head><body>\
<h1 id=\"welcome\" class=\"welcome\">Welcome!</h1><div>\
<h3>What is your name?</h3>\
<form>\
Name: <input type=\"text\" name=\"name\" />\
<br/>Last name: <input type=\"text\" name=\"lastname\" />\
<br/><p><input type=\"submit\"></p></form>\
Name: <input type=\"text\" name=\"name\">\
<br>Last name: <input type=\"text\" name=\"lastname\">\
<br><p><input type=\"submit\"></p></form>\
</div>\
</body></html>"
.as_ref()
Expand All @@ -80,7 +80,7 @@ mod test {
Bytes::from_static(
"<!DOCTYPE html>\
<html>\
<head><meta charset=\"utf-8\" /><title>Actix web</title></head>\
<head><meta charset=\"utf-8\"><title>Actix web</title></head>\
<body>\
<h1>Hi, foo bar!</h1><p id=\"hi\" class=\"welcome\">Welcome</p>\
</body></html>"
Expand Down Expand Up @@ -113,13 +113,13 @@ mod test {
Bytes::from_static(
"<!DOCTYPE html>\
<html>\
<head><meta charset=\"utf-8\" /><title>Actix web</title></head><body>\
<head><meta charset=\"utf-8\"><title>Actix web</title></head><body>\
<h1 id=\"welcome\" class=\"welcome\">Welcome!</h1><div>\
<h3>What is your name?</h3>\
<form>\
Name: <input type=\"text\" name=\"name\" />\
<br/>Last name: <input type=\"text\" name=\"lastname\" />\
<br/><p><input type=\"submit\"></p></form>\
Name: <input type=\"text\" name=\"name\">\
<br>Last name: <input type=\"text\" name=\"lastname\">\
<br><p><input type=\"submit\"></p></form>\
</div>\
</body></html>"
.as_ref()
Expand Down

0 comments on commit f83af59

Please sign in to comment.