Skip to content

Commit 394d444

Browse files
committed
fix test
1 parent 35ae483 commit 394d444

3 files changed

Lines changed: 10 additions & 11 deletions

File tree

datafusion/core/src/datasource/physical_plan/csv.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -593,14 +593,14 @@ mod tests {
593593
| col1 | col2 |
594594
+-------+-----------------------------+
595595
| 1 | hello
596-
world |
596+
| | world |
597597
| 2 | something
598-
else |
598+
| | else |
599599
| 3 | many
600-
lines
601-
make
602-
good test
603-
|
600+
| | lines
601+
| | make
602+
| | good test
603+
| |
604604
| 4 | unquoted |
605605
| value | end |
606606
+-------+-----------------------------+

datafusion/core/src/datasource/physical_plan/json.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,6 @@ mod tests {
536536
async fn test_json_with_repartitioning(
537537
file_compression_type: FileCompressionType,
538538
) -> Result<()> {
539-
use datafusion_common::test_util::batches_to_sort_string;
540539
use datafusion_execution::config::SessionConfig;
541540

542541
let config = SessionConfig::new()
@@ -580,7 +579,7 @@ mod tests {
580579
let df = ctx.read_json(path, read_option).await?;
581580
let res = df.collect().await?;
582581

583-
insta::allow_duplicates! {assert_snapshot!(batches_to_sort_string(&res), @r###"
582+
insta::allow_duplicates! {assert_snapshot!(batches_to_string(&res), @r###"
584583
+-----+------------------+---------------+------+
585584
| a | b | c | d |
586585
+-----+------------------+---------------+------+

datafusion/core/src/datasource/view_test.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ mod tests {
4848

4949
insta::assert_snapshot!(batches_to_string(&results),@r###"
5050
+---+
51-
| b |
52-
+---+
53-
| 2 |
51+
| b |
52+
+---+
53+
| 2 |
5454
+---+
5555
"###);
5656

0 commit comments

Comments
 (0)