chore: rename assert_parser to expect_parser

This commit is contained in:
rvcas 2023-02-09 01:05:11 -05:00
parent 9348caab2f
commit e9caa710c4
No known key found for this signature in database
GPG Key ID: C09B64E263F7D68C
1 changed files with 2 additions and 2 deletions

View File

@ -1028,7 +1028,7 @@ pub fn expr_parser(
},
);
let assert_parser = just(Token::Expect)
let expect_parser = just(Token::Expect)
.ignore_then(pattern_parser())
.then(just(Token::Colon).ignore_then(type_parser()).or_not())
.then_ignore(just(Token::Equal))
@ -1093,7 +1093,7 @@ pub fn expr_parser(
block_parser,
when_parser,
let_parser,
assert_parser,
expect_parser,
if_parser,
));