Skip to content

Commit

Permalink
style: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
timvw committed Mar 29, 2024
1 parent 2b24454 commit e512d8d
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()
Expand Down

0 comments on commit e512d8d

Please sign in to comment.