Moved cfg not windows

This commit is contained in:
vallentin 2024-04-21 05:07:42 +02:00 committed by Dirkjan Ochtman
parent 4739422b63
commit c1d945a882

View File

@ -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");