feat(expect): update formatter
* Token::Expect should format to expect * since we still capture assert this means we can help users update to the new syntax
This commit is contained in:
@@ -606,7 +606,7 @@ impl<'comments> Formatter<'comments> {
|
||||
|
||||
let keyword = match kind {
|
||||
Some(AssignmentKind::Let) => "let ",
|
||||
Some(AssignmentKind::Expect) => "assert ",
|
||||
Some(AssignmentKind::Expect) => "expect ",
|
||||
None => "try ",
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user