try to fix expected error on windows
This commit is contained in:
parent
a7ca2e169f
commit
5fa9f12427
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue