fixed test

This commit is contained in:
DustInDark
2022-06-09 19:51:16 +09:00
parent dce84b4185
commit dbee018af1

View File

@@ -750,8 +750,7 @@ mod tests {
let test_timestamp = Utc
.datetime_from_str("1996-02-27T01:05:01Z", "%Y-%m-%dT%H:%M:%SZ")
.unwrap();
let expect_header =
"Timestamp|Computer|Channel|EventID|Level|RuleTitle|Details|RecordID|RecordInformation\n";
let expect_header = "Timestamp|Computer|Channel|EventID|Level|RuleTitle|Details\n";
let expect_tz = test_timestamp.with_timezone(&Local);
let expect_no_header = expect_tz