Mercurial > python-compiler.rs
diff src/tests/test_parse_files.rs @ 62:d255a932553f
Fix a few warnings.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 13 Jun 2016 00:42:58 +0100 |
parents | 86604a156ed0 |
children | c06d12a81637 |
line wrap: on
line diff
--- a/src/tests/test_parse_files.rs +++ b/src/tests/test_parse_files.rs @@ -10,7 +10,7 @@ fn test_parse_file(filename: &str) { let mut file = match File::open(filename) { Ok(file) => file, Err(err) => { - panic!(format!("Can't find {}", filename)); + panic!(format!("Can't find {}: {}", filename, err)); } }; let mut code = String::new();