1
Fork 0

Remove match check from test cases

This commit is contained in:
Tim Chevalier 2012-08-23 14:44:58 -07:00
parent 01a5845db5
commit e9622f09aa
22 changed files with 57 additions and 39 deletions

View file

@ -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});
}