aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates/operators.html
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-03-03 20:31:18 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-03-03 20:31:18 +0100
commitc0d81103c25ab2d8836933f474ac0c8699259caa (patch)
tree6ac9c91bc40e713d87a6acc7d9c562ce7c497070 /testing/templates/operators.html
parent8bc255bc63dbc88b24c96e3217db495027c74018 (diff)
downloadaskama-c0d81103c25ab2d8836933f474ac0c8699259caa.tar.gz
askama-c0d81103c25ab2d8836933f474ac0c8699259caa.tar.bz2
askama-c0d81103c25ab2d8836933f474ac0c8699259caa.zip
Add test for parenthesized expressions
Diffstat (limited to '')
-rw-r--r--testing/templates/operators.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/templates/operators.html b/testing/templates/operators.html
index 4b093c5..7d8ed63 100644
--- a/testing/templates/operators.html
+++ b/testing/templates/operators.html
@@ -22,7 +22,7 @@
{% if b ^ c == a + c -%}
bxor
{%- endif -%}
-{% if b | c == a + c -%}
+{% if (b | c) == a + c -%}
bor
{%- endif -%}
{% if a == b && a + b == c -%}