From b7446b744a07224ba1b8736efae89684c44291d9 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 8 Aug 2017 12:36:10 +0200 Subject: Add test for deref implementation (see #28) --- testing/tests/inheritance.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/tests/inheritance.rs') 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"); } -- cgit