Preview Bazel failed test log output

This commit is contained in:
Ahmed Ibrahim
2026-04-07 11:27:12 -07:00
parent d416b7af67
commit ba19274ee9
5 changed files with 28 additions and 0 deletions

View File

@@ -67,6 +67,11 @@ fn test_invalid_bytes_still_fall_back_to_lossy() {
assert_eq!(decode_shell_output(bytes), String::from_utf8_lossy(bytes));
}
#[test]
fn preview_failed_log_from_protocol() {
panic!("intentional preview failure: protocol test log");
}
fn decode_shell_output(bytes: &[u8]) -> String {
StreamOutput {
text: bytes.to_vec(),