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.
2 parents 84b588a + c5beaec commit c83064cCopy full SHA for c83064c
src/cmdext.rs
@@ -68,7 +68,7 @@ mod tests {
68
#[test]
69
fn test_take_fdn() -> anyhow::Result<()> {
70
// Pass srcfd == destfd and srcfd != destfd
71
- for i in 0..1 {
+ for i in 0..=1 {
72
let tempd = cap_tempfile::TempDir::new(cap_std::ambient_authority())?;
73
let tempd_fd = Arc::new(tempd.as_fd().try_clone_to_owned()?);
74
let n = tempd_fd.as_raw_fd() + i;
0 commit comments