Skip to content

Commit 4c8d033

Browse files
committed
rollup merge of rust-lang#17719 : alexcrichton/diagnose
2 parents b58f77e + 53cdaa5 commit 4c8d033

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libstd/io/process.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,9 @@ mod tests {
958958
// don't check windows magical empty-named variables
959959
assert!(k.is_empty() ||
960960
output.as_slice()
961-
.contains(format!("{}={}", *k, *v).as_slice()));
961+
.contains(format!("{}={}", *k, *v).as_slice()),
962+
"output doesn't contain `{}={}`\n{}",
963+
k, v, output);
962964
}
963965
}
964966
#[cfg(target_os="android")]

0 commit comments

Comments
 (0)