Remove match check from test cases
This commit is contained in:
parent
01a5845db5
commit
e9622f09aa
22 changed files with 57 additions and 39 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
// Tests for match as expressions resulting in structural types
|
||||
fn test_rec() {
|
||||
let rs = match check true { true => { {i: 100} } };
|
||||
let rs = match true { true => {i: 100}, _ => fail };
|
||||
assert (rs == {i: 100});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue