rollup merge of #17719 : alexcrichton/diagnose

This commit is contained in:
Alex Crichton 2014-10-02 14:49:29 -07:00
commit 4c8d0334ee

View File

@ -958,7 +958,9 @@ mod tests {
// don't check windows magical empty-named variables
assert!(k.is_empty() ||
output.as_slice()
.contains(format!("{}={}", *k, *v).as_slice()));
.contains(format!("{}={}", *k, *v).as_slice()),
"output doesn't contain `{}={}`\n{}",
k, v, output);
}
}
#[cfg(target_os="android")]