Only test windows path handling on windows.
Otherwise Path won't know what to do.
This commit is contained in:
parent
64ec7e1578
commit
9be5e640ff
|
@ -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"#);
|
||||
|
|
Loading…
Reference in a new issue