Vary preview Bazel test failures

This commit is contained in:
Ahmed Ibrahim
2026-04-07 11:57:34 -07:00
parent ba19274ee9
commit cd56da42e4
4 changed files with 15 additions and 5 deletions

View File

@@ -68,8 +68,8 @@ fn test_invalid_bytes_still_fall_back_to_lossy() {
}
#[test]
fn preview_failed_log_from_protocol() {
panic!("intentional preview failure: protocol test log");
fn preview_failed_log_from_protocol() -> Result<(), String> {
Err("intentional preview failure: protocol returned Result::Err".to_string())
}
fn decode_shell_output(bytes: &[u8]) -> String {