mirror of
https://github.com/getzola/zola
synced 2025-03-04 23:17:13 +00:00
Only test windows path handling on windows.
Otherwise Path won't know what to do.
This commit is contained in:
parent
64ec7e1578
commit
9be5e640ff
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue