@@ -57,7 +57,7 @@ func TestLogger(t *testing.T) {
5757
5858 filename := path .Join (
5959 "logger/data" ,
60- fmt .Sprintf ("data_%s_% s" , timestamp .Format ("YYYY_MM_DD_HH_mm_ss" ), fmt . Sprint ( timestamp . Nanosecond () )),
60+ fmt .Sprintf ("data_%s" , timestamp .Format ("2006_01_02_15_04_05" )),
6161 fmt .Sprintf ("%s.csv" , "test" ),
6262 )
6363 file , err := os .Open (filename )
@@ -90,7 +90,7 @@ func TestLogger(t *testing.T) {
9090
9191 filename = path .Join (
9292 "logger/order" ,
93- fmt .Sprintf ("order_%s_% s" , timestamp .Format ("YYYY_MM_DD_HH_mm_ss" ), fmt . Sprint ( timestamp . Nanosecond () )),
93+ fmt .Sprintf ("order_%s" , timestamp .Format ("2006_01_02_15_04_05" )),
9494 "order.csv" ,
9595 )
9696 file , err = os .Open (filename )
@@ -124,7 +124,7 @@ func TestLogger(t *testing.T) {
124124
125125 filename = path .Join (
126126 "logger/protections" ,
127- fmt .Sprintf ("protections_%s_% s" , timestamp .Format ("YYYY_MM_DD_HH_mm_ss" ), fmt . Sprint ( timestamp . Nanosecond () )),
127+ fmt .Sprintf ("protections_%s" , timestamp .Format ("2006_01_02_15_04_05" )),
128128 fmt .Sprintf ("%s.csv" , "test" ),
129129 )
130130 file , err = os .Open (filename )
0 commit comments