Fix formatter to not prefix tests as 'pub'

This commit is contained in:
KtorZ 2022-12-09 14:35:50 +01:00
parent a541018a56
commit 749d8ecb10
No known key found for this signature in database
GPG Key ID: 33173CB6F77F4277
1 changed files with 1 additions and 2 deletions

View File

@ -229,10 +229,9 @@ impl<'comments> Formatter<'comments> {
name, name,
arguments: args, arguments: args,
body, body,
public,
end_position, end_position,
.. ..
}) => self.definition_fn(public, "test", name, args, &None, body, *end_position), }) => self.definition_fn(&false, "test", name, args, &None, body, *end_position),
Definition::TypeAlias(TypeAlias { Definition::TypeAlias(TypeAlias {
alias, alias,