chore: replace result assertions (#1840)

* s/assert!\((.*)\.is_ok\(\)\);/\1.unwrap\(\);/g

* s/assert!\((.*)\.is_some\(\)\);/\1.unwrap\(\);/g
This commit is contained in:
Lei, HUANG
2023-06-27 19:14:48 +08:00
committed by GitHub
parent b737a240de
commit f287d3115b
92 changed files with 269 additions and 304 deletions

View File

@@ -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)
}