We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d8a94d commit 64256feCopy full SHA for 64256fe
src/sr/pam/rpassword.rs
@@ -245,7 +245,7 @@ mod test {
245
}
246
Err(e) => {
247
// TTY is not available, which is expected in some test environments
248
- assert!(e.kind() == io::ErrorKind::NotFound || e.kind() == io::ErrorKind::PermissionDenied);
+ assert!(e.kind() == io::ErrorKind::NotFound || e.kind() == io::ErrorKind::PermissionDenied, "Unexpected error kind: {:?}", e.kind());
249
250
251
0 commit comments