libcoretest: fix fallout

This commit is contained in:
Jorge Aparicio 2014-12-05 10:49:51 -05:00
parent 45860b53e0
commit 8df27d26bd

View File

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