This website works better with JavaScript.
git.jstrong.dev
Home
Explore
Help
Sign In
jstrong
/
zola
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Only test windows path handling on windows.
Otherwise Path won't know what to do.
index-subcmd
Johan Sigfrids
6 years ago
parent
64ec7e1578
commit
9be5e640ff
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/cmd/serve.rs
+ 1
- 0
src/cmd/serve.rs
View File
@@ -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"#);
Write
Preview
Loading…
Cancel
Save