mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-25 01:10:37 +00:00
chore: replace result assertions (#1840)
* s/assert!\((.*)\.is_ok\(\)\);/\1.unwrap\(\);/g * s/assert!\((.*)\.is_some\(\)\);/\1.unwrap\(\);/g
This commit is contained in:
@@ -325,7 +325,7 @@ mod tests {
|
||||
let rb = RecordBatch::try_new(schema.clone(), vec![name_array, count_array]).unwrap();
|
||||
writer.write(&rb).unwrap();
|
||||
}
|
||||
assert!(writer.close().is_ok());
|
||||
let _ = writer.close().unwrap();
|
||||
(path, schema)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user