From e512d8d2fea2192f6c3153130346cc2c574bd802 Mon Sep 17 00:00:00 2001 From: Tim Van Wassenhove Date: Fri, 29 Mar 2024 23:47:37 +0100 Subject: [PATCH] style: fmt --- tests/integration.rs | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/tests/integration.rs b/tests/integration.rs index 551b05b..e425ec2 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -88,17 +88,14 @@ async fn run_with_local_avro_file() -> datafusion::common::Result<()> { #[tokio::test] async fn run_with_local_ndjson_file() -> datafusion::common::Result<()> { let mut cmd = get_qv_cmd()?; - let cmd = cmd.arg(get_qv_testing_path( - "data/json/ndjson-sample.json", - )) + let cmd = cmd + .arg(get_qv_testing_path("data/json/ndjson-sample.json")) .arg("-q") .arg("SELECT url from tbl"); let header_predicate = build_row_regex_predicate(vec!["url"]); - let data_predicate = build_row_regex_predicate(vec![ - "https://www.yelp.com/search", - ]); + let data_predicate = build_row_regex_predicate(vec!["https://www.yelp.com/search"]); cmd.assert() .success() @@ -110,17 +107,14 @@ async fn run_with_local_ndjson_file() -> datafusion::common::Result<()> { #[tokio::test] async fn run_with_local_ndjson_gz_file() -> datafusion::common::Result<()> { let mut cmd = get_qv_cmd()?; - let cmd = cmd.arg(get_qv_testing_path( - "data/json/ndjson-sample.json.gz", - )) + let cmd = cmd + .arg(get_qv_testing_path("data/json/ndjson-sample.json.gz")) .arg("-q") .arg("SELECT url from tbl"); let header_predicate = build_row_regex_predicate(vec!["url"]); - let data_predicate = build_row_regex_predicate(vec![ - "https://www.yelp.com/search", - ]); + let data_predicate = build_row_regex_predicate(vec!["https://www.yelp.com/search"]); cmd.assert() .success()