Fix Windows test(?): inode request shouldn't error on Windows, b/c there are no inodes
@@ -2367,13 +2367,22 @@ fn test_ls_dangling_symlinks() {
.succeeds()
.stdout_contains("dangle");
+ #[cfg(not(windows))]
scene
.ucmd()
.arg("-Li")
.arg("temp_dir")
.fails()
.stderr_contains("cannot access")
- .stdout_contains(if cfg!(windows) { "dangle" } else { "? dangle" });
+ .stdout_contains("? dangle");
+
+ #[cfg(windows)]
+ scene
+ .ucmd()
+ .arg("-Li")
+ .arg("temp_dir")
+ .succeeds()
+ .stdout_contains("dangle");
scene
.ucmd()
