diff options
author | Dave Poulter <hello@davepoulter.net> | 2019-10-08 11:17:38 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2019-10-08 11:36:19 +0200 |
commit | c82db307b0456e2a901599516b14f0d92e9cc682 (patch) | |
tree | 4970f0824b6cc7ab452e22869329d22a183e4ec6 /testing/tests/simple.rs | |
parent | 66274b7c8ef2f47fe479013b9d408ac21a36472d (diff) | |
download | askama-c82db307b0456e2a901599516b14f0d92e9cc682.tar.gz askama-c82db307b0456e2a901599516b14f0d92e9cc682.tar.bz2 askama-c82db307b0456e2a901599516b14f0d92e9cc682.zip |
Add support for boolean literals
Diffstat (limited to 'testing/tests/simple.rs')
-rw-r--r-- | testing/tests/simple.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/tests/simple.rs b/testing/tests/simple.rs index e4239ce..519b87c 100644 --- a/testing/tests/simple.rs +++ b/testing/tests/simple.rs @@ -114,7 +114,7 @@ struct LiteralsTemplate {} #[test] fn test_literals() { let s = LiteralsTemplate {}; - assert_eq!(s.render().unwrap(), "a"); + assert_eq!(s.render().unwrap(), "a\ntrue\nfalse"); } struct Holder { |