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:
parent
7cbe2fe853
commit
dc3e6830c2
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue