lil babie change to that last test :3

This commit is contained in:
KitsuneCafe 2024-02-19 05:23:57 -05:00
parent f382dcb03b
commit fa6f8b1fd6
1 changed files with 2 additions and 2 deletions

View File

@ -96,13 +96,13 @@ mod tests {
parser
.parse(
"test.html",
b"<p>{% extends \"base.html\" %}\n{% import \"macros.html\" %}\n{% block content %}</p>\n<div><p>hi :3</p></div>{% endblock content %}",
b"<p>{% extends \"base.html\" %}\n{% import \"macros.html\" as macros %}\n{% block content %}</p>\n<div><p>hi :3</p></div>{% endblock content %}",
&mut buf,
)
.unwrap();
assert_eq!(
"{% extends \"base.html\" %}\n{% import \"macros.html\" %}\n{% block content %}\n<div><p>hi :3</p></div>{% endblock content %}",
"{% extends \"base.html\" %}\n{% import \"macros.html\" as macros %}\n{% block content %}\n<div><p>hi :3</p></div>{% endblock content %}",
String::from_utf8_lossy(&buf)
);
}