Fix formatter to not prefix tests as 'pub'
This commit is contained in:
parent
a541018a56
commit
749d8ecb10
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue