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 d2ce83c commit 1e745f1Copy full SHA for 1e745f1
src/libstd/rt/io/support.rs
@@ -33,9 +33,8 @@ mod test {
33
use super::PathLike;
34
35
#[test]
36
- #[ignore(cfg(windows))] // FIXME #8812
37
fn path_like_smoke_test() {
38
- let expected = "/home";
+ let expected = if cfg!(unix) { "/home" } else { "C:\\" };
39
let path = Path(expected);
40
path.path_as_str(|p| assert!(p == expected));
41
0 commit comments