move tests

This commit is contained in:
Aleksey Kladov 2021-10-10 11:39:08 +03:00
parent 7e53a3ce23
commit a3470a8114
4 changed files with 89 additions and 84 deletions

View file

@ -131,6 +131,7 @@ fn pretty_print_macro_expansion(expn: SyntaxNode) -> String {
(T![,], _) => " ",
(T![fn], T!['(']) => "",
(T![']'], _) if curr_kind.is_keyword() => " ",
(T![']'], T![#]) => "\n",
_ if prev_kind.is_keyword() => " ",
_ => "",
};