diff options
Diffstat (limited to 'testing/tests')
-rw-r--r-- | testing/tests/render_in_place.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/render_in_place.rs b/testing/tests/render_in_place.rs index 3d1b91e..f20e775 100644 --- a/testing/tests/render_in_place.rs +++ b/testing/tests/render_in_place.rs @@ -8,14 +8,14 @@ struct RenderInPlace<'a> { } #[derive(Template)] -#[template(path = "render_in_place_sec1.html")] +#[template(source = "A={{ a }}\nB={{ b }}", ext = "html")] struct SectionOne<'a> { a: &'a str, b: &'a str, } #[derive(Template)] -#[template(path = "render_in_place_sec2.html")] +#[template(source = "C={{ c }}\nD={{ d }}", ext = "html")] struct SectionTwo<'a> { c: &'a str, d: &'a str, |