fix all gen and cli tests

This commit is contained in:
Folkert 2021-02-02 22:06:11 +01:00
parent e643d1ea3c
commit f6aa77e6a8
4 changed files with 37 additions and 7 deletions

View file

@ -387,7 +387,9 @@ fn spaces<'a>(
);
if any_newlines {
state = state.check_indent(min_indent).map_err(
|(fail, _)| (progress, fail, original_state),
|(fail, _)| {
(progress, fail, original_state.clone())
},
)?;
}