1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00

fix yarte test

This commit is contained in:
Rob Ede 2022-02-06 09:19:55 +00:00
parent 1756cc336a
commit af73a0c7ab
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933

View File

@ -83,7 +83,7 @@ mod test {
bytes, bytes,
Bytes::from_static( Bytes::from_static(
"<!DOCTYPE html><html><head><meta charset=\"utf-8\"><title>Actix \ "<!DOCTYPE html><html><head><meta charset=\"utf-8\"><title>Actix \
web</title></head><body><h1>Hi, foo bar!</h1><p id=\"hi\" \ Web</title></head><body><h1>Hi, foo bar!</h1><p id=\"hi\" \
class=\"welcome\">Welcome</p></body></html>" class=\"welcome\">Welcome</p></body></html>"
.as_ref() .as_ref()
) )
@ -113,7 +113,7 @@ mod test {
bytes, bytes,
Bytes::from_static( Bytes::from_static(
"<!DOCTYPE html><html><head><meta charset=\"utf-8\"><title>Actix \ "<!DOCTYPE html><html><head><meta charset=\"utf-8\"><title>Actix \
web</title></head><body><h1 id=\"welcome\" \ Web</title></head><body><h1 id=\"welcome\" \
class=\"welcome\">Welcome!</h1><div><h3>What is your name?</h3><form>Name: \ class=\"welcome\">Welcome!</h1><div><h3>What is your name?</h3><form>Name: \
<input type=\"text\" name=\"name\"><br>Last name: <input type=\"text\" \ <input type=\"text\" name=\"name\"><br>Last name: <input type=\"text\" \
name=\"lastname\"><br><p><input type=\"submit\"></p></form></div></body></html>" name=\"lastname\"><br><p><input type=\"submit\"></p></form></div></body></html>"