mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-28 13:30:59 +00:00
Moved cfg not windows
This commit is contained in:
parent
4739422b63
commit
c1d945a882
@ -549,13 +549,13 @@ fn strip_common(base: &Path, path: &Path) -> String {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(windows))]
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::strip_common;
|
||||
use std::path::Path;
|
||||
|
||||
#[test]
|
||||
#[cfg(not(windows))]
|
||||
fn test_strip_common() {
|
||||
let cwd = std::env::current_dir().expect("current_dir failed");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user