wala-rust

Unnamed repository; edit this file 'description' to name the repository.
Info | Log | Files | Refs | README | LICENSE

commit 1c21e8419c0772c89289a68b472bbf9e084b7dbd
parent 67b580dc5d753096cd48690f2d4a4ac370e62286
Author: lash <dev@holbrook.no>
Date:   Tue,  4 Oct 2022 19:05:52 +0000

Fix trace test

Diffstat:
Msrc/trace.rs | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/trace.rs b/src/trace.rs @@ -165,7 +165,8 @@ mod tests { let fp = p.join(r.v.unwrap()); let f = File::open(fp).unwrap(); let meta = f.metadata().unwrap(); - let id_l = (id_b.len() * 2) as u64; + //let id_l = (id_b.len() * 2) as u64; + let id_l = id_b.len() as u64; let r_l = meta.len(); assert_eq!(r_l, id_l); }