mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
test fail fix
This commit is contained in:
parent
7b08d700f7
commit
5a770ffe47
2 changed files with 12 additions and 6 deletions
|
@ -1193,7 +1193,7 @@ mod tests {
|
|||
) -> std::result::Result<usize, DocumentFormatError> {
|
||||
let temp_file = NamedTempFile::new().unwrap();
|
||||
let mut buffer = BufWriter::new(temp_file.reopen().unwrap());
|
||||
buffer.write(bytes).unwrap();
|
||||
buffer.write_all(bytes).unwrap();
|
||||
buffer.flush().unwrap();
|
||||
meilisearch_types::document_formats::read_json(temp_file.as_file(), write)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue