Better name solve test

This commit is contained in:
Ayaz Hafiz 2022-10-24 14:02:38 -05:00
parent fc6f7d2613
commit 1f498b52d5
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -8117,19 +8117,19 @@ mod solve_expr {
}
#[test]
fn multiple_variables_bound_to_an_ability() {
fn multiple_variables_bound_to_an_ability_from_type_def() {
infer_queries!(
indoc!(
r#"
app "test" provides [main] to "./platform"
F a : a | a has Hash
F a : a | a has Hash & Eq & Decoding
main : F a -> F a
#^^^^{-1}
"#
),
@"main : a -[[main(0)]]-> a | a has Hash"
@"main : a -[[main(0)]]-> a | a has Hash & Decoding & Eq"
print_only_under_alias: true
);
}