diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-08-10 07:38:34 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-08-10 09:27:33 +0200 |
commit | 1e0ee705a8e295ebddd31a472990133d34ad3465 (patch) | |
tree | 203bc040015dee5a69592c531de4741ac6a03f91 /testing/tests/include.rs | |
parent | ffc74a1775f6e4bbd8cd161fd68d814ec981f3c2 (diff) | |
download | askama-1e0ee705a8e295ebddd31a472990133d34ad3465.tar.gz askama-1e0ee705a8e295ebddd31a472990133d34ad3465.tar.bz2 askama-1e0ee705a8e295ebddd31a472990133d34ad3465.zip |
Propagate format errors and rename `render_to()` to `render_into()`
Diffstat (limited to 'testing/tests/include.rs')
-rw-r--r-- | testing/tests/include.rs | 2 |
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") } |