Check in some more work

This commit is contained in:
Ayaz Hafiz 2022-09-16 16:09:21 -05:00
parent 6adb88beee
commit ac752adc7c
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
6 changed files with 78 additions and 22 deletions

View file

@ -1936,3 +1936,16 @@ fn num_width_gt_u8_layout_as_float() {
"#
)
}
#[mono_test]
fn match_on_result_with_uninhabited_error_branch() {
indoc!(
r#"
x : Result Str []
x = Ok "abc"
when x is
Ok s -> s
"#
)
}