mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-02 15:25:19 +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)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::strip_common;
|
use super::strip_common;
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(not(windows))]
|
|
||||||
fn test_strip_common() {
|
fn test_strip_common() {
|
||||||
let cwd = std::env::current_dir().expect("current_dir failed");
|
let cwd = std::env::current_dir().expect("current_dir failed");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user