mirror of
https://github.com/actix/examples
synced 2024-11-23 22:41:07 +01:00
fix yarte test
This commit is contained in:
parent
1756cc336a
commit
af73a0c7ab
@ -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>"
|
||||||
|
Loading…
Reference in New Issue
Block a user