From bb930e901e7e402c51ec1173f57840104b87d3c7 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Wed, 28 Aug 2019 00:08:25 -0400 Subject: fix logging test --- src/logging.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/logging.rs b/src/logging.rs index 332de6c..6340def 100644 --- a/src/logging.rs +++ b/src/logging.rs @@ -38,11 +38,11 @@ mod tests { #[test] fn init_logs() { let blank = " ".bytes().collect::>(); - fs::write("/tmp/dirtmud.log", &blank).unwrap(); + fs::write("/tmp/clinte.log", &blank).unwrap(); init(); info!("TEST LOG MESSAGE"); - let logfile = fs::read_to_string("/tmp/dirtmud.log").unwrap(); + let logfile = fs::read_to_string("/tmp/clinte.log").unwrap(); assert!(logfile.contains("TEST LOG MESSAGE")); } } -- cgit 1.4.1-2-gfad0