diff options
| author | Philipp A | 2019-12-08 17:27:38 +0100 | 
|---|---|---|
| committer | Philipp A | 2019-12-08 17:27:38 +0100 | 
| commit | f1c1422d0ae17f46999735bbb787cca188ecfa54 (patch) | |
| tree | 3118224b302f65cdc6d1c9d08a86b07f0b00f3fb /src/parser/tests.rs | |
| parent | b465cfceb7600ccf6158451a396d5c7afc2138e9 (diff) | |
| download | rust-rst-f1c1422d0ae17f46999735bbb787cca188ecfa54.tar.bz2 | |
render newlines to spaces
Diffstat (limited to 'src/parser/tests.rs')
| -rw-r--r-- | src/parser/tests.rs | 9 | 
1 files changed, 6 insertions, 3 deletions
| diff --git a/src/parser/tests.rs b/src/parser/tests.rs index e161108..bad818e 100644 --- a/src/parser/tests.rs +++ b/src/parser/tests.rs @@ -161,7 +161,10 @@ A |subst| in-line  			]),  			substitution_def(53, 101, [  				substitution_name(57, 63), -				replace(65, 101, [ paragraph(74, 101, [str(74, 86), str(88, 100)]) ]), +				replace(65, 101, [ paragraph(74, 101, [ +					str(74, 86), ws_newline(86, 87), +					str(88, 100), +				]) ]),  			]),  		]  	}; @@ -222,8 +225,8 @@ paragraph  				bullet_item(21, 131, [  					line(24, 31, [ str(24, 30) ]),  					paragraph(34, 74, [ -						str(34, 43), -						str(47, 58), +						str(34, 43), ws_newline(43, 44), +						str(47, 58), ws_newline(58, 59),  						str(62, 73),  					]),  					bullet_list(77, 131, [ | 
