Skip to content

Commit 36e412d

Browse files
committed
Updated tests
1 parent 1a93539 commit 36e412d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/index_api.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async fn index_api_basic_bulk() {
1313
let index_api = IndexApiClient::new(api_config.clone());
1414

1515
// Drop the table if it exists
16-
let _ = utils_api.sql("DROP TABLE IF EXISTS products", Some(true)).await;
16+
let res = utils_api.sql("DROP TABLE IF EXISTS products", Some(true)).await;
1717
assert!(res.is_ok(), "DROP TABLE failed: {:?}", res.err());
1818
tokio::time::delay_for(tokio::time::Duration::from_millis(1000));
1919

@@ -50,7 +50,7 @@ async fn index_api_basic_insert() {
5050
let index_api = IndexApiClient::new(api_config.clone());
5151

5252
// Drop the table if it exists
53-
let _ = utils_api.sql("DROP TABLE IF EXISTS products", Some(true)).await;
53+
let res = utils_api.sql("DROP TABLE IF EXISTS products", Some(true)).await;
5454
assert!(res.is_ok(), "DROP TABLE failed: {:?}", res.err());
5555

5656
// Create table

0 commit comments

Comments
 (0)