aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2019-10-09 11:45:13 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2019-10-09 11:45:13 +0200
commit8c56de1e698253662ec3e9efeb5e20fc88eea0e9 (patch)
tree509b889da00032d4254c2c453c91463e4d04b91f /testing/templates
parentc82db307b0456e2a901599516b14f0d92e9cc682 (diff)
downloadaskama-8c56de1e698253662ec3e9efeb5e20fc88eea0e9.tar.gz
askama-8c56de1e698253662ec3e9efeb5e20fc88eea0e9.tar.bz2
askama-8c56de1e698253662ec3e9efeb5e20fc88eea0e9.zip
Limit test sensitivity to macro pretty printing output
See https://github.com/rust-lang/rust/issues/65207.
Diffstat (limited to '')
-rw-r--r--testing/templates/rust-macro-args.html17
1 files changed, 3 insertions, 14 deletions
diff --git a/testing/templates/rust-macro-args.html b/testing/templates/rust-macro-args.html
index b009a73..5e84852 100644
--- a/testing/templates/rust-macro-args.html
+++ b/testing/templates/rust-macro-args.html
@@ -1,26 +1,15 @@
{{
call_a_or_b_on_tail!(
- (a: compute_len, b: zero),
- the recursive part that skips over all these
- tokens doesn't much care whether we will call a
- or call b: only the terminal rules care.
+ (a: compute_len, b: zero), call b: only the terminal rules care.
)
}}
{{
call_a_or_b_on_tail!(
- (a: compute_len, b: zero),
- and now, to justify the existence of two paths
- we will also call a: its input should somehow
- be self-referential, so let's make it return
- some ninety one!
+ (a: compute_len, b: zero), call a: some ninety one!
)
}}
{{
call_a_or_b_on_tail!(
- (a: compute_len, b: zero),
- and now, to justify the existence of two paths
- we will also call a: its input should somehow
- be self-referential, so let's make it return
- some ninety "(\"()"nine!
+ (a: compute_len, b: zero), call a: some ninety "(\"()"nine!
)
}}