Skip to content

Commit de54b5f

Browse files
committed
Update expected panic message in tests
Signed-off-by: John Eckersberg <[email protected]>
1 parent 88008aa commit de54b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ostree-ext/src/generic_decompress.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ mod tests {
179179
}
180180

181181
#[test]
182-
#[should_panic(expected = "Decompressor::finish MUST be called")]
182+
#[should_panic(expected = "Failed to flush pipe while dropping Decompressor")]
183183
fn test_drop_decompressor_with_finish_error_should_panic() {
184184
let broken = BrokenPipe;
185185
let d = Decompressor::new(&oci_image::MediaType::ImageLayer, broken).unwrap();

0 commit comments

Comments
 (0)