From c72bcf61284c99f5d0481ea8fd19251508091613 Mon Sep 17 00:00:00 2001 From: muzarski Date: Fri, 19 Jan 2024 05:00:27 +0100 Subject: [PATCH] types_test: test cases for big varints Added test cases for varints that can't be contained in any primitive. --- scylla/src/transport/cql_types_test.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scylla/src/transport/cql_types_test.rs b/scylla/src/transport/cql_types_test.rs index 36368479f1..1219771d93 100644 --- a/scylla/src/transport/cql_types_test.rs +++ b/scylla/src/transport/cql_types_test.rs @@ -116,6 +116,9 @@ fn varint_test_cases() -> Vec<&'static str> { "-129", "123456789012345678901234567890", "-123456789012345678901234567890", + // Test cases for numbers that can't be contained in u/i128. + "1234567890123456789012345678901234567890", + "-1234567890123456789012345678901234567890", ] }