shush warn
parent
9ed6b48806
commit
51f10b7944
|
|
@ -989,6 +989,7 @@ mod tests {
|
||||||
f.sync_all().unwrap();
|
f.sync_all().unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
pub fn file_contains(d: &tempdir::TempDir, fname: &str, content: &str) {
|
pub fn file_contains(d: &tempdir::TempDir, fname: &str, content: &str) {
|
||||||
let p = d.path().join(&fname);
|
let p = d.path().join(&fname);
|
||||||
let file_content = file_content(&p.to_str().unwrap().to_string());
|
let file_content = file_content(&p.to_str().unwrap().to_string());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue