@@ -185,7 +185,7 @@ mod tests {
185185 use chrono:: { NaiveTime , Weekday } ;
186186
187187 #[ test]
188- fn test_non_stop_no_config ( ) {
188+ fn test_into_non_stop_no_config ( ) {
189189 let config = ScheduleConfig {
190190 start_time : None ,
191191 end_time : None ,
@@ -200,7 +200,7 @@ mod tests {
200200 }
201201
202202 #[ test]
203- fn test_non_stop_equal_times ( ) {
203+ fn test_into_non_stop_equal_times ( ) {
204204 let time = NaiveTime :: from_hms_opt ( 9 , 0 , 0 ) . unwrap ( ) ;
205205 let config = ScheduleConfig {
206206 start_time : Some ( time) ,
@@ -216,7 +216,7 @@ mod tests {
216216 }
217217
218218 #[ test]
219- fn test_daily_session ( ) {
219+ fn test_into_daily_session ( ) {
220220 let config = ScheduleConfig {
221221 start_time : Some ( NaiveTime :: from_hms_opt ( 9 , 0 , 0 ) . unwrap ( ) ) ,
222222 end_time : Some ( NaiveTime :: from_hms_opt ( 17 , 0 , 0 ) . unwrap ( ) ) ,
@@ -242,7 +242,7 @@ mod tests {
242242 }
243243
244244 #[ test]
245- fn test_weekdays_session ( ) {
245+ fn test_into_weekdays_session ( ) {
246246 let config = ScheduleConfig {
247247 start_time : Some ( NaiveTime :: from_hms_opt ( 9 , 0 , 0 ) . unwrap ( ) ) ,
248248 end_time : Some ( NaiveTime :: from_hms_opt ( 17 , 0 , 0 ) . unwrap ( ) ) ,
@@ -285,7 +285,7 @@ mod tests {
285285 }
286286
287287 #[ test]
288- fn test_weekly_session ( ) {
288+ fn test_into_weekly_session ( ) {
289289 let config = ScheduleConfig {
290290 start_time : Some ( NaiveTime :: from_hms_opt ( 18 , 0 , 0 ) . unwrap ( ) ) ,
291291 end_time : Some ( NaiveTime :: from_hms_opt ( 17 , 0 , 0 ) . unwrap ( ) ) ,
@@ -315,7 +315,7 @@ mod tests {
315315 }
316316
317317 #[ test]
318- fn test_weekly_session_with_equal_times_is_still_weekly ( ) {
318+ fn test_into_weekly_session_with_equal_times_is_still_weekly ( ) {
319319 let time = NaiveTime :: from_hms_opt ( 12 , 0 , 0 ) . unwrap ( ) ;
320320 let config = ScheduleConfig {
321321 start_time : Some ( time) ,
@@ -331,7 +331,7 @@ mod tests {
331331 }
332332
333333 #[ test]
334- fn test_invalid_weekly_with_weekdays ( ) {
334+ fn test_into_invalid_weekly_with_weekdays ( ) {
335335 let config = ScheduleConfig {
336336 start_time : Some ( NaiveTime :: from_hms_opt ( 9 , 0 , 0 ) . unwrap ( ) ) ,
337337 end_time : Some ( NaiveTime :: from_hms_opt ( 17 , 0 , 0 ) . unwrap ( ) ) ,
@@ -351,7 +351,7 @@ mod tests {
351351 }
352352
353353 #[ test]
354- fn test_invalid_partial_config_start_time_only ( ) {
354+ fn test_into_invalid_partial_config_start_time_only ( ) {
355355 let config = ScheduleConfig {
356356 start_time : Some ( NaiveTime :: from_hms_opt ( 9 , 0 , 0 ) . unwrap ( ) ) ,
357357 end_time : None ,
@@ -366,7 +366,7 @@ mod tests {
366366 }
367367
368368 #[ test]
369- fn test_invalid_partial_config_end_time_only ( ) {
369+ fn test_into_invalid_partial_config_end_time_only ( ) {
370370 let config = ScheduleConfig {
371371 start_time : None ,
372372 end_time : Some ( NaiveTime :: from_hms_opt ( 17 , 0 , 0 ) . unwrap ( ) ) ,
@@ -381,7 +381,7 @@ mod tests {
381381 }
382382
383383 #[ test]
384- fn test_invalid_partial_config_start_day_only ( ) {
384+ fn test_into_invalid_partial_config_start_day_only ( ) {
385385 let config = ScheduleConfig {
386386 start_time : None ,
387387 end_time : None ,
@@ -396,7 +396,7 @@ mod tests {
396396 }
397397
398398 #[ test]
399- fn test_invalid_mixed_config ( ) {
399+ fn test_into_invalid_mixed_config ( ) {
400400 let config = ScheduleConfig {
401401 start_time : Some ( NaiveTime :: from_hms_opt ( 9 , 0 , 0 ) . unwrap ( ) ) ,
402402 end_time : None ,
@@ -411,7 +411,7 @@ mod tests {
411411 }
412412
413413 #[ test]
414- fn test_weekdays_with_single_day ( ) {
414+ fn test_into_weekdays_with_single_day ( ) {
415415 let config = ScheduleConfig {
416416 start_time : Some ( NaiveTime :: from_hms_opt ( 9 , 0 , 0 ) . unwrap ( ) ) ,
417417 end_time : Some ( NaiveTime :: from_hms_opt ( 17 , 0 , 0 ) . unwrap ( ) ) ,
@@ -431,7 +431,7 @@ mod tests {
431431 }
432432
433433 #[ test]
434- fn test_weekdays_with_equal_times_is_invalid ( ) {
434+ fn test_into_weekdays_with_equal_times_is_invalid ( ) {
435435 let time = NaiveTime :: from_hms_opt ( 10 , 30 , 0 ) . unwrap ( ) ;
436436 let config = ScheduleConfig {
437437 start_time : Some ( time) ,
0 commit comments