diff --git a/src/tests/syslinereader_tests.rs b/src/tests/syslinereader_tests.rs index 4c4e2d67..93d1a5f0 100644 --- a/src/tests/syslinereader_tests.rs +++ b/src/tests/syslinereader_tests.rs @@ -14,12 +14,35 @@ use crate::common::{ FPath, ResultS3, }; +use crate::data::datetime::{ + datetime_parse_from_str, + DateTimeL, + DateTimeLOpt, + DateTimeParseInstr, + DateTimePattern_str, + FixedOffset, + TimeZone, + Year, + DateTimeParseInstrsIndex, + DATETIME_PARSE_DATAS, + DATETIME_PARSE_DATAS_LEN, + ymdhmsn, + O_L, +}; use crate::data::line::{ LinePart, Line, LineP, - LineIndex + LineIndex, +}; +use crate::debug::helpers::{ + create_temp_file, + create_temp_file_bytes, + create_temp_file_no_permissions, + ntf_fpath, + NamedTempFile, }; +use crate::debug::printers::str_to_String_noraw; use crate::readers::blockreader::{ Block, BlockIndex, @@ -39,30 +62,7 @@ use crate::readers::syslinereader::{ SummarySyslineReader, ResultFindDateTime, }; -use crate::data::datetime::{ - datetime_parse_from_str, - DateTimeL, - DateTimeLOpt, - DateTimeParseInstr, - DateTimePattern_str, - FixedOffset, - TimeZone, - Year, - DateTimeParseInstrsIndex, - DATETIME_PARSE_DATAS, - DATETIME_PARSE_DATAS_LEN, - ymdhmsn, - O_L, -}; use crate::tests::datetime_tests::dt_pattern_has_tz; -use crate::debug::helpers::{ - create_temp_file, - create_temp_file_bytes, - create_temp_file_no_permissions, - ntf_fpath, - NamedTempFile, -}; -use crate::debug::printers::str_to_String_noraw; #[allow(unused_imports)] use crate::tests::common::{ eprint_file, diff --git a/src/tests/syslogprocessor_tests.rs b/src/tests/syslogprocessor_tests.rs index 45d04384..d334c9be 100644 --- a/src/tests/syslogprocessor_tests.rs +++ b/src/tests/syslogprocessor_tests.rs @@ -34,8 +34,8 @@ use crate::readers::filepreprocessor::{ fpath_to_filetype, PathToFiletypeResult, }; -use crate::readers::summary::SummaryReaderData; use crate::readers::linereader::SummaryLineReader; +use crate::readers::summary::SummaryReaderData; use crate::readers::syslinereader::{ DateTimePatternCounts, SummarySyslineReader,