try to fix expected error on windows

This commit is contained in:
Gabor Szabo 2025-03-09 19:13:53 +02:00
parent a7ca2e169f
commit 5fa9f12427

View file

@ -657,8 +657,8 @@ And here is some \
assert!(got.is_err());
let error_message = got.err().unwrap().to_string();
let expeceted = format!(
r#"Couldn't open SUMMARY.md in "{}" directory"#,
temp_dir.path().display()
r#"Couldn't open SUMMARY.md in {:?} directory"#,
temp_dir.path()
);
assert_eq!(error_message, expeceted);
}