summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-08-28 00:08:25 -0400
committerBen Morrison <ben@gbmor.dev>2019-08-28 00:08:25 -0400
commitbb930e901e7e402c51ec1173f57840104b87d3c7 (patch)
treede4b0b62d9cbb56422bf3ce9ba77f8c2974ac125 /src
parent7e4251d8aad41852e18ce9449c3e818cbca44fe0 (diff)
downloadclinte-bb930e901e7e402c51ec1173f57840104b87d3c7.tar.gz
fix logging test
Diffstat (limited to 'src')
-rw-r--r--src/logging.rs4
1 files changed, 2 insertions, 2 deletions
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::<Vec<u8>>();
-        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"));
     }
 }