mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 20:28:02 +00:00
test/rust: add missing escaped chars
Signed-off-by: cancaicai <2356672992@qq.com>
This commit is contained in:
parent
26f9416929
commit
bc2acb3dd0
1 changed files with 2 additions and 0 deletions
|
@ -67,6 +67,8 @@ mod test_parse {
|
|||
("\\r", EscapedChar::CarriageReturn),
|
||||
("\\t", EscapedChar::Tab),
|
||||
("\\\"", EscapedChar::DoubleQuote),
|
||||
("\\\'", EscapedChar::SingleQuote),
|
||||
("\\$", EscapedChar::Dollar),
|
||||
] {
|
||||
let actual = parse_expr_with(&arena, arena.alloc(to_input(string)));
|
||||
let expected_slice = to_expected(*escaped, &arena);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue