summary refs log tree commit diff stats
path: root/src/logging.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/logging.rs')
-rw-r--r--src/logging.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logging.rs b/src/logging.rs
index c489b63..d138a6c 100644
--- a/src/logging.rs
+++ b/src/logging.rs
@@ -42,11 +42,11 @@ mod tests {
     #[test]
     fn init_logs() {
         let blank = " ".bytes().collect::<Vec<u8>>();
-        fs::write("/tmp/clinte.log", &blank).unwrap();
+        fs::write(&*FILE, &blank).unwrap();
         init();
 
         info!("TEST LOG MESSAGE");
-        let logfile = fs::read_to_string("/tmp/clinte.log").unwrap();
+        let logfile = fs::read_to_string(&*FILE).unwrap();
         assert!(logfile.contains("TEST LOG MESSAGE"));
     }
 }
1.9.1&id=4ea0f69aed8d4c173d9abbd0a1bd76d6afe69ccb'>4ea0f69a ^
240394a4 ^

712aa449
240394a4 ^



9e89f023 ^
36e4e71e ^
20ab9343 ^

20ab9343 ^





4ea0f69a ^

240394a4 ^
e952d6cb ^
36e4e71e ^

4a383291 ^
78a7d762 ^
e952d6cb ^
78a7d762 ^
e952d6cb ^
4ea0f69a ^

7838675f ^

240394a4 ^
7838675f ^



755e7df1 ^
7838675f ^
500cf259 ^



bf14a7e7 ^
240394a4 ^




























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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92