mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-15 20:05:13 +02:00
[pitboss/grind] deferred session-0036 (20260517T044708Z-e058)
This commit is contained in:
parent
dc0cff58c7
commit
7dc488fae7
3 changed files with 4 additions and 4 deletions
|
|
@ -580,7 +580,7 @@ mod tests {
|
|||
fn write_and_load_roundtrip() {
|
||||
let d = with_verdict(make_diag("src/a.py", 1, "py.sqli"), VerifyStatus::Confirmed);
|
||||
let tmp = tempfile::NamedTempFile::new().unwrap();
|
||||
write_baseline(tmp.path(), &[d.clone()]).unwrap();
|
||||
write_baseline(tmp.path(), std::slice::from_ref(&d)).unwrap();
|
||||
let loaded = load_baseline(tmp.path()).unwrap();
|
||||
assert_eq!(loaded.len(), 1);
|
||||
assert_eq!(loaded[0].stable_hash, d.stable_hash);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue