Add test for nested comment block
This commit is contained in:
parent
3f727b0451
commit
d3320d41f0
|
@ -0,0 +1 @@
|
||||||
|
10001
|
|
@ -0,0 +1 @@
|
||||||
|
<%= 1 + /* 10 + %> /* 100 + */ 1000 %> + */ 10000 %>
|
|
@ -164,6 +164,15 @@ fn test_rm_whitespace() {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(TemplateOnce)]
|
||||||
|
#[template(path = "comment.stpl")]
|
||||||
|
struct Comment {}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn test_comment() {
|
||||||
|
assert_render("comment", Comment{})
|
||||||
|
}
|
||||||
|
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
mod unix {
|
mod unix {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
Loading…
Reference in New Issue