Skip to content

Commit 50d898b

Browse files
Clippy
1 parent fa12150 commit 50d898b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etl/tests/integration/partitioned_table_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ async fn partitioned_table_sync_succeeds_with_inherited_primary_keys() {
9292
for &partition_id in &partition_table_ids {
9393
let state = table_states
9494
.get(&partition_id)
95-
.expect(&format!("Partition {} should have a state", partition_id));
95+
.unwrap_or_else(|| panic!("Partition {} should have a state", partition_id));
9696
assert!(
9797
matches!(
9898
state.as_type(),

0 commit comments

Comments
 (0)