mirror of
https://gitlab.cern.ch/wotsubo/psboard-qaqc-postprocess.git
synced 2025-07-01 17:19:29 +09:00
update: accept abnormal resistance
as valid row in check-db
- this commits includes 2 other implementations - 1st one with custom type with `impl Read` for Lazy evaluation - this somehow ended up in infinite loop - 2nd one which collects lines without skipped lines first - this works - the current implementations has another File and catches invalid row and check the line later
This commit is contained in:
parent
c996e5bd28
commit
46487320b0
5 changed files with 188 additions and 14 deletions
|
@ -31,8 +31,8 @@ mod integrated_test {
|
|||
let f = File::open(test_out.clone())?;
|
||||
let r = BufReader::new(f);
|
||||
assert!(r.lines().any(|line| {
|
||||
line.unwrap().contains(
|
||||
"8866,,B-0-1,0,1,1,0,1,8,1,,7,2024-07-20T17:15:46Z,7.log,0.1.0,alice,,,,",
|
||||
line.unwrap().eq(
|
||||
"8866,,B-0-1,0,1,1,0,1,8,1,,7,2024-07-20T17:15:46Z,7.log,0.1.0,alice,,,,false,",
|
||||
)
|
||||
}));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue