From 8c56de1e698253662ec3e9efeb5e20fc88eea0e9 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 9 Oct 2019 11:45:13 +0200 Subject: Limit test sensitivity to macro pretty printing output See https://github.com/rust-lang/rust/issues/65207. --- testing/templates/rust-macro-args.html | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'testing/templates') 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! ) }} -- cgit