This commit is contained in:
Nikita Galaiko 2023-10-17 15:46:38 +02:00 committed by GitButler
parent 0cac4c29c0
commit 11e052fc82

View File

@ -78,7 +78,7 @@ mod tests {
}
});
let mut data_file = OpenOptions::new().read(true).open(data_path).unwrap();
let value = data_file.read_u64::<LittleEndian>().unwrap();
assert_eq!(value, u64::try_from(num_threads).unwrap());
let value = data_file.read_u32::<LittleEndian>().unwrap();
assert_eq!(value, u32::try_from(num_threads).unwrap());
}
}