Skip to content

Commit 40a276e

Browse files
committed
fix a few more test expectations
1 parent 4784461 commit 40a276e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

arrow-schema/src/extension/canonical/timestamp_with_offset.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ mod tests {
300300
}
301301

302302
#[test]
303-
#[should_panic(expected = "Field extension type name missing")]
303+
#[should_panic(expected = "Extension type name missing")]
304304
fn missing_name() {
305305
let field = make_valid_field_primitive(TimeUnit::Second)
306306
.with_metadata([(EXTENSION_TYPE_METADATA_KEY.to_owned(), "".to_owned())].into());

parquet/src/arrow/schema/virtual_type.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ mod tests {
143143
}
144144

145145
#[test]
146-
#[should_panic(expected = "Field extension type name missing")]
146+
#[should_panic(expected = "Extension type name missing")]
147147
fn row_number_missing_name() {
148148
let field = Field::new("", DataType::Int64, false).with_metadata(
149149
[(EXTENSION_TYPE_METADATA_KEY.to_owned(), "".to_owned())]
@@ -203,7 +203,7 @@ mod tests {
203203
}
204204

205205
#[test]
206-
#[should_panic(expected = "Field extension type name missing")]
206+
#[should_panic(expected = "Extension type name missing")]
207207
fn row_group_index_missing_name() {
208208
let field = Field::new("", DataType::Int64, false).with_metadata(
209209
[(EXTENSION_TYPE_METADATA_KEY.to_owned(), "".to_owned())]

0 commit comments

Comments
 (0)