Skip to content

Commit a44d99d

Browse files
committed
test_set_or_list_errors: Remove redundant part
As far as I can tell, this fragment tests strictly less than the code below it.
1 parent 894eab8 commit a44d99d

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

scylla-cql/src/deserialize/value_tests.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1957,18 +1957,6 @@ fn test_set_or_list_errors() {
19571957

19581958
// Bad element type
19591959
{
1960-
assert_type_check_error!(
1961-
&Bytes::new(),
1962-
Vec<i64>,
1963-
ColumnType::Collection {
1964-
frozen: false,
1965-
typ: CollectionType::List(Box::new(ColumnType::Native(NativeType::Ascii))),
1966-
},
1967-
BuiltinTypeCheckErrorKind::SetOrListError(
1968-
SetOrListTypeCheckErrorKind::ElementTypeCheckFailed(_)
1969-
)
1970-
);
1971-
19721960
let err = deserialize::<Vec<i64>>(
19731961
&ColumnType::Collection {
19741962
frozen: false,

0 commit comments

Comments
 (0)