aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/include.rs
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-08-10 07:38:34 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-08-10 09:27:33 +0200
commit1e0ee705a8e295ebddd31a472990133d34ad3465 (patch)
tree203bc040015dee5a69592c531de4741ac6a03f91 /testing/tests/include.rs
parentffc74a1775f6e4bbd8cd161fd68d814ec981f3c2 (diff)
downloadaskama-1e0ee705a8e295ebddd31a472990133d34ad3465.tar.gz
askama-1e0ee705a8e295ebddd31a472990133d34ad3465.tar.bz2
askama-1e0ee705a8e295ebddd31a472990133d34ad3465.zip
Propagate format errors and rename `render_to()` to `render_into()`
Diffstat (limited to '')
-rw-r--r--testing/tests/include.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/tests/include.rs b/testing/tests/include.rs
index 7ddccd2..d2998a1 100644
--- a/testing/tests/include.rs
+++ b/testing/tests/include.rs
@@ -15,5 +15,5 @@ fn test_include() {
let s = IncludeTemplate {
strs: &strs,
};
- assert_eq!(s.render(), "INCLUDED: fooINCLUDED: bar")
+ assert_eq!(s.render().unwrap(), "INCLUDED: fooINCLUDED: bar")
}