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:
@@ -136,6 +136,6 @@ pub(crate) async fn create_test_table(
|
||||
table_id: table.table_info().ident.table_id,
|
||||
table: table.clone(),
|
||||
};
|
||||
assert!(instance.catalog_manager.register_table(req).await.is_ok());
|
||||
let _ = instance.catalog_manager.register_table(req).await.unwrap();
|
||||
Ok(table)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user