src/tools/file_logger.rs: fix test

This commit is contained in:
Dietmar Maurer 2019-04-06 11:24:37 +02:00
parent 660c684640
commit 244abab769

View File

@ -13,6 +13,7 @@ use std::io::Write;
/// # use failure::*;
/// use proxmox_backup::tools::FileLogger;
///
/// # std::fs::remove_file("test.log");
/// let mut log = FileLogger::new("test.log", true).unwrap();
/// flog!(log, "A simple log: {}", "Hello!");
/// ```