diff --git a/src/cmd/serve.rs b/src/cmd/serve.rs index f813241a..3cf5f970 100644 --- a/src/cmd/serve.rs +++ b/src/cmd/serve.rs @@ -398,6 +398,7 @@ mod tests { #[test] + #[cfg(windows)] fn windows_path_handling() { let expected = (ChangeKind::Templates, PathBuf::from("/templates/hello.html")); let pwd = Path::new(r#"C:\\Users\johan\site"#);