aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-08-08 12:36:10 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-08-08 12:36:29 +0200
commitb7446b744a07224ba1b8736efae89684c44291d9 (patch)
tree52e5b5c0f79186d7aaa08ca2cddc7f60e19c316b /testing/tests
parente3d08c72bc2a7c34243208e68158b6f919701082 (diff)
downloadaskama-b7446b744a07224ba1b8736efae89684c44291d9.tar.gz
askama-b7446b744a07224ba1b8736efae89684c44291d9.tar.bz2
askama-b7446b744a07224ba1b8736efae89684c44291d9.zip
Add test for deref implementation (see #28)
Diffstat (limited to '')
-rw-r--r--testing/tests/inheritance.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/tests/inheritance.rs b/testing/tests/inheritance.rs
index 459a5b2..5993cd6 100644
--- a/testing/tests/inheritance.rs
+++ b/testing/tests/inheritance.rs
@@ -24,5 +24,5 @@ fn test_use_base_directly() {
#[test]
fn test_simple_extends() {
let t = ChildTemplate { _parent: BaseTemplate { title: "Bar" } };
- assert_eq!(t.render(), "Bar\nContent goes here\nCopyright 2017");
+ assert_eq!(t.render(), "Bar\n(Bar) Content goes here\nCopyright 2017");
}