tests(solve_expr): mismatch still not properly being reported

This commit is contained in:
rvcas 2021-03-23 22:46:48 -04:00
parent 7148522e15
commit 6009501114
2 changed files with 5 additions and 3 deletions

View file

@ -652,8 +652,8 @@ mod solve_expr {
}
#[test]
fn applied_tag_function_mismatch() {
infer_eq(
fn mismatch_applied_tag_function() {
infer_eq_without_problem(
indoc!(
r#"
x : List [ Foo Str ]
@ -662,7 +662,7 @@ mod solve_expr {
x
"#
),
"<type mismatch>",
"List [ Foo Str ]",
)
}