Update some heterogenous list tests

This commit is contained in:
Richard Feldman 2019-12-21 18:32:34 -05:00
parent c6f14e8db5
commit c0cf0b64b1
2 changed files with 4 additions and 4 deletions

View file

@ -282,7 +282,7 @@ mod test_infer {
[ [ 1 ], [ [] ] ] [ [ 1 ], [ [] ] ]
"# "#
), ),
"List (List <type mismatch>)", "List <type mismatch>",
); );
} }

View file

@ -275,7 +275,7 @@ mod test_infer_uniq {
[ "foo", 5 ] [ "foo", 5 ]
"# "#
), ),
"Attr.Attr * (List (Attr.Attr * <type mismatch>))", "Attr.Attr * (List <type mismatch>)",
); );
} }
@ -287,7 +287,7 @@ mod test_infer_uniq {
[ [ "foo", 5 ] ] [ [ "foo", 5 ] ]
"# "#
), ),
"Attr.Attr * (List (Attr.Attr * (List (Attr.Attr * <type mismatch>))))", "Attr.Attr * (List (Attr.Attr * (List <type mismatch>)))",
); );
} }
@ -299,7 +299,7 @@ mod test_infer_uniq {
[ [ 1 ], [ [] ] ] [ [ 1 ], [ [] ] ]
"# "#
), ),
"Attr.Attr * (List (Attr.Attr * (List (Attr.Attr * <type mismatch>))))", "Attr.Attr * (List <type mismatch>)",
); );
} }