Ignore test cases containing explicit paths to modules

This commit is contained in:
David Tolnay 2016-10-25 22:21:43 -07:00
parent 7a2b6ed715
commit ec5f8a62e0
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -57,7 +57,8 @@ fn test_round_trip() {
Ok(before) => before,
Err(mut diagnostic) => {
diagnostic.cancel();
if diagnostic.message.starts_with("file not found for module") {
if diagnostic.message.starts_with("file not found for module")
|| diagnostic.message.starts_with("couldn't read") {
errorf!("ignore\n");
continue;
} else {