Skip to content

Commit b44e904

Browse files
committed
tests: Print actual and expected in assert_sigpipe_handler() helper
1 parent 6328002 commit b44e904

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/ui/runtime/on-broken-pipe/auxiliary/sigpipe-utils.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ pub fn assert_sigpipe_handler(expected_handler: SignalHandler) {
2828
SignalHandler::Default => libc::SIG_DFL,
2929
};
3030

31-
assert_eq!(actual, expected, "actual and expected SIGPIPE disposition differs");
31+
assert_eq!(
32+
actual, expected,
33+
"actual {actual} and expected {expected} SIGPIPE disposition differs"
34+
);
3235
}
3336
}

0 commit comments

Comments
 (0)