mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 16:44:33 +00:00
Fix region formatting test issues
This commit is contained in:
parent
2553cae5de
commit
e1c0acb650
1 changed files with 2 additions and 4 deletions
|
@ -1972,7 +1972,7 @@ fn hof_conditional() {
|
|||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm"))]
|
||||
#[should_panic(
|
||||
expected = "Roc failed with message: \"Shadowing { original_region: |L 3-3, C 4-5|, shadow: |L 6-6, C 8-9| Ident"
|
||||
expected = "Roc failed with message: \"Shadowing { original_region: @57-58, shadow: @90-91 Ident"
|
||||
)]
|
||||
fn pattern_shadowing() {
|
||||
assert_evals_to!(
|
||||
|
@ -2448,9 +2448,7 @@ fn backpassing_result() {
|
|||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
#[should_panic(
|
||||
expected = "Shadowing { original_region: |L 3-3, C 4-5|, shadow: |L 5-5, C 6-7| Ident"
|
||||
)]
|
||||
#[should_panic(expected = "Shadowing { original_region: @57-58, shadow: @74-75 Ident")]
|
||||
fn function_malformed_pattern() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue