diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-02-13 22:00:35 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-02-13 22:00:35 +0100 |
commit | ca5bfc111616ac29eb18165d60bf309c2f18f419 (patch) | |
tree | f57e85c5ffc2b1e0856ed827583d9b7978e6bd9e /testing/tests/operators.rs | |
parent | a6b4f305e948cdf327b45abe52b27a4d81013d5d (diff) | |
download | askama-ca5bfc111616ac29eb18165d60bf309c2f18f419.tar.gz askama-ca5bfc111616ac29eb18165d60bf309c2f18f419.tar.bz2 askama-ca5bfc111616ac29eb18165d60bf309c2f18f419.zip |
Implement support for mul, div, mod operators
Diffstat (limited to 'testing/tests/operators.rs')
-rw-r--r-- | testing/tests/operators.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/tests/operators.rs b/testing/tests/operators.rs index 0154118..240fd52 100644 --- a/testing/tests/operators.rs +++ b/testing/tests/operators.rs @@ -15,5 +15,5 @@ struct OperatorsTemplate { #[test] fn test_operators() { let t = OperatorsTemplate { a: 1, b: 1, c: 2 }; - assert_eq!(t.render(), "tf\ntf\ntf\ntf\ntf\ntf\n"); + assert_eq!(t.render(), "tf\ntf\ntf\ntf\ntf\ntf\nmul\ndiv\nmod\n"); } |