mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
cargo-fmt
This commit is contained in:
parent
f4c1af0f19
commit
6dbde806d6
2 changed files with 8 additions and 18 deletions
|
@ -288,9 +288,7 @@ mod test_can {
|
|||
"#
|
||||
);
|
||||
let arena = Bump::new();
|
||||
let CanExprOut {
|
||||
problems, ..
|
||||
} = can_expr_with(&arena, test_home(), src);
|
||||
let CanExprOut { problems, .. } = can_expr_with(&arena, test_home(), src);
|
||||
|
||||
// Here we have 2 issues:
|
||||
// 1. `g` doesn't match the previous annotation named `f`, so we
|
||||
|
@ -316,9 +314,7 @@ mod test_can {
|
|||
"#
|
||||
);
|
||||
let arena = Bump::new();
|
||||
let CanExprOut {
|
||||
problems, ..
|
||||
} = can_expr_with(&arena, test_home(), src);
|
||||
let CanExprOut { problems, .. } = can_expr_with(&arena, test_home(), src);
|
||||
|
||||
// Here we have 2 issues:
|
||||
// 1. `g` doesn't match the previous annotation named `f`, so we
|
||||
|
@ -345,9 +341,7 @@ mod test_can {
|
|||
"#
|
||||
);
|
||||
let arena = Bump::new();
|
||||
let CanExprOut {
|
||||
problems, ..
|
||||
} = can_expr_with(&arena, test_home(), src);
|
||||
let CanExprOut { problems, .. } = can_expr_with(&arena, test_home(), src);
|
||||
|
||||
assert_eq!(problems.len(), 1);
|
||||
assert!(problems.iter().all(|problem| match problem {
|
||||
|
@ -368,9 +362,7 @@ mod test_can {
|
|||
"#
|
||||
);
|
||||
let arena = Bump::new();
|
||||
let CanExprOut {
|
||||
problems, ..
|
||||
} = can_expr_with(&arena, test_home(), src);
|
||||
let CanExprOut { problems, .. } = can_expr_with(&arena, test_home(), src);
|
||||
|
||||
assert_eq!(problems.len(), 1);
|
||||
assert!(problems.iter().all(|problem| match problem {
|
||||
|
@ -390,9 +382,7 @@ mod test_can {
|
|||
"#
|
||||
);
|
||||
let arena = Bump::new();
|
||||
let CanExprOut {
|
||||
problems, ..
|
||||
} = can_expr_with(&arena, test_home(), src);
|
||||
let CanExprOut { problems, .. } = can_expr_with(&arena, test_home(), src);
|
||||
|
||||
assert_eq!(problems.len(), 1);
|
||||
println!("{:#?}", problems);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue