summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-09-04 14:03:13 -0400
committerBen Morrison <ben@gbmor.dev>2019-09-04 14:03:13 -0400
commitd3e6ef557fc457dffaa0a62edcf48c156df3bce3 (patch)
tree50d7c08fb1a94bbbcde54c9a947d595e6442c1b0
parent5d32c8ccd1b2d544771363ef419d89ec4f56c924 (diff)
downloadclinte-d3e6ef557fc457dffaa0a62edcf48c156df3bce3.tar.gz
updated logging test v0.4.0
-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"));
     }
 }
.com> 2015-10-27 14:38:57 -0700 2291 - parsing property trees' href='/akkartik/mu/commit/055parse_tree.cc?h=hlt&id=a17f9186c17073e07eef6f046dcc1b15f08ed73c'>a17f9186 ^
acc4792d ^
a17f9186 ^
ce2e604e ^
c4e143d6 ^
ce2e604e ^

a17f9186 ^


af023b32 ^
555d95c1 ^
a17f9186 ^











1f7e3c05 ^
08cf048f ^
a17f9186 ^




66abe7c1 ^






6808ff7d ^
a17f9186 ^

6808ff7d ^

af023b32 ^
1f7e3c05 ^
af023b32 ^


66abe7c1 ^
6808ff7d ^
66abe7c1 ^









6808ff7d ^
a17f9186 ^
6808ff7d ^
af023b32 ^
6808ff7d ^
a17f9186 ^
6808ff7d ^

9cfd925a ^
1ead3562 ^
15f79a66 ^
6808ff7d ^
15f79a66 ^




acc4792d ^
87196c34 ^
a2a20225 ^





87196c34 ^




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
93
94
95
96
97
98
99
100
101
102
103
104
105
106