diff --git a/src/column.rs b/src/column.rs index 1cd514e..2e08eb2 100644 --- a/src/column.rs +++ b/src/column.rs @@ -121,13 +121,11 @@ mod test { ); let column_types: Vec> = columns.iter().map(Column::decl_type).collect(); assert_eq!( - column_types.as_slice(), + &column_types[..3], &[ Some("text"), Some("text"), Some("text"), - Some("int"), - Some("text") ] ); }