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/logging.rs') 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 ain' selected='selected'>main Profanity fork with TTY improvementsdanisanti <danisanti@tilde.institute>
about summary refs log tree commit diff stats
blob: 4afe87525c5887cb612bb648e2970b0ecedb6e5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40