refactor: separate master reading part as a mod

This commit is contained in:
Wataru Otsubo 2024-07-22 16:02:34 +09:00
parent 2258067f48
commit b927f5923e
3 changed files with 319 additions and 294 deletions

View file

@ -30,7 +30,13 @@ mod integrated_test {
let r = BufReader::new(f);
assert!(r
.lines()
.any(|line| { line.unwrap().contains("8868,,A-0-1,0,1,1,0,1,8,1,") }));
.any(|line| {
line
.unwrap()
.contains(
"8866,,A-0-0,0,1,1,0,1,8,1,,2024-07-20T17:15:46Z,20240720_171418.log,0.1.0,alice,,,,"
)
}));
}
// 2nd file