From 7018f5d3c42f18b6c83f398db9f1915361a7c679 Mon Sep 17 00:00:00 2001 From: Philipp A Date: Sun, 8 Dec 2019 20:32:54 +0100 Subject: Fix and test substitution --- src/parser/tests.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/parser/tests.rs') diff --git a/src/parser/tests.rs b/src/parser/tests.rs index bad818e..a034c0e 100644 --- a/src/parser/tests.rs +++ b/src/parser/tests.rs @@ -157,12 +157,12 @@ A |subst| in-line ]), substitution_def(19, 52, [ substitution_name(23, 28), - replace(30, 52, [ paragraph(39, 52, [str(39, 52)]) ]), + replace(30, 52, [ paragraph(40, 52, [str(40, 52)]) ]), ]), substitution_def(53, 101, [ substitution_name(57, 63), - replace(65, 101, [ paragraph(74, 101, [ - str(74, 86), ws_newline(86, 87), + replace(65, 101, [ paragraph(75, 101, [ + str(75, 86), ws_newline(86, 87), str(88, 100), ]) ]), ]), -- cgit v1.2.3