Skip to content

Commit

Permalink
Remove whitespace in expected expect strings to make tests succeed
Browse files Browse the repository at this point in the history
  • Loading branch information
rshkv committed Jan 3, 2025
1 parent 159a3aa commit a6017ce
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion crates/iceberg/src/inspect/manifests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ mod tests {
partition_summaries: ListArray
[
StructArray
-- validity:
-- validity:
[
valid,
]
Expand Down
22 changes: 11 additions & 11 deletions crates/iceberg/src/inspect/snapshots.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
use std::sync::Arc;

use arrow_array::builder::{MapBuilder, PrimitiveBuilder, StringBuilder};
use arrow_array::types::{Int64Type, TimestampMillisecondType};
use arrow_array::RecordBatch;
use arrow_schema::{DataType, Field, Schema, TimeUnit};

use crate::table::Table;

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand All @@ -24,6 +15,15 @@ use crate::table::Table;
// specific language governing permissions and limitations
// under the License.

use std::sync::Arc;

use arrow_array::builder::{MapBuilder, PrimitiveBuilder, StringBuilder};
use arrow_array::types::{Int64Type, TimestampMillisecondType};
use arrow_array::RecordBatch;
use arrow_schema::{DataType, Field, Schema, TimeUnit};

use crate::table::Table;

/// Snapshots table.
pub struct SnapshotsTable<'a> {
table: &'a Table,
Expand Down Expand Up @@ -147,7 +147,7 @@ mod tests {
summary: MapArray
[
StructArray
-- validity:
-- validity:
[
]
[
Expand All @@ -161,7 +161,7 @@ mod tests {
]
],
StructArray
-- validity:
-- validity:
[
]
[
Expand Down

0 comments on commit a6017ce

Please sign in to comment.