libcoretest: fix fallout
This commit is contained in:
parent
45860b53e0
commit
8df27d26bd
@ -45,7 +45,7 @@ fn test_fail() {
|
||||
|
||||
#[test]
|
||||
fn test_retval() {
|
||||
let mut closure: || -> int = || 10;
|
||||
let mut closure = |&mut:| 10i;
|
||||
let i = closure.finally(|| { });
|
||||
assert_eq!(i, 10);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user