mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-01 21:40:58 +00:00
Merge remote-tracking branch 'remote/main' into rebuild-platform
This commit is contained in:
commit
5c43bd2cee
7 changed files with 637 additions and 593 deletions
|
|
@ -63,7 +63,7 @@ mod test_fmt {
|
|||
|
||||
match header::parse_header(&arena, State::new(src.as_bytes())) {
|
||||
Ok((actual, state)) => {
|
||||
use roc_parse::remove_spaces::RemoveSpaces;
|
||||
use roc_parse::normalize::Normalize;
|
||||
|
||||
let mut buf = Buf::new_in(&arena);
|
||||
|
||||
|
|
@ -77,8 +77,8 @@ mod test_fmt {
|
|||
);
|
||||
});
|
||||
|
||||
let ast_normalized = actual.remove_spaces(&arena);
|
||||
let reparsed_ast_normalized = reparsed_ast.remove_spaces(&arena);
|
||||
let ast_normalized = actual.normalize(&arena);
|
||||
let reparsed_ast_normalized = reparsed_ast.normalize(&arena);
|
||||
|
||||
// HACK!
|
||||
// We compare the debug format strings of the ASTs, because I'm finding in practice that _somewhere_ deep inside the ast,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue