aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/inheritance.rs
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-11-21 20:53:57 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-11-21 20:57:56 +0100
commit83cc6e0ca3e9878c47593ab737e6bf106ea062db (patch)
treee3ec5ac6d25c5835792d7fdc094253ab2fade059 /testing/tests/inheritance.rs
parent958680aee0fc2d58200382223937e8123fae7459 (diff)
downloadaskama-83cc6e0ca3e9878c47593ab737e6bf106ea062db.tar.gz
askama-83cc6e0ca3e9878c47593ab737e6bf106ea062db.tar.bz2
askama-83cc6e0ca3e9878c47593ab737e6bf106ea062db.zip
Apply suggestions from rustfmt to improve style
Diffstat (limited to '')
-rw-r--r--testing/tests/inheritance.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/tests/inheritance.rs b/testing/tests/inheritance.rs
index e9ea9a2..bac9bf5 100644
--- a/testing/tests/inheritance.rs
+++ b/testing/tests/inheritance.rs
@@ -24,5 +24,8 @@ fn test_use_base_directly() {
#[test]
fn test_simple_extends() {
let t = ChildTemplate { _parent: BaseTemplate { title: "Bar" } };
- assert_eq!(t.render().unwrap(), "Bar\n(Bar) Content goes here\nFoo\nCopyright 2017");
+ assert_eq!(
+ t.render().unwrap(),
+ "Bar\n(Bar) Content goes here\nFoo\nCopyright 2017"
+ );
}