1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-24 13:37:44 +00:00

Use result in EXL's test_write

This commit is contained in:
Joshua Goins 2023-09-24 15:40:55 -04:00
parent 7cbe2fe853
commit dc3e6830c2

View file

@ -123,8 +123,8 @@ mod tests {
let exl = read(d).unwrap();
let mut out = std::io::stdout();
out.write_all(&existing_exl.write_to_buffer().unwrap());
out.flush();
out.write_all(&existing_exl.write_to_buffer().unwrap()).unwrap();
out.flush().unwrap();
assert_eq!(existing_exl.write_to_buffer().unwrap(), exl);
}