File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -205,8 +205,7 @@ TEST_CASE("malformed bulk string(3)", "[protocol]") {
205205
206206TEST_CASE (" malformed bulk string(4)" , " [protocol]" ) {
207207 using Policy = r::parsing_policy::drop_result;
208- std::string ok =
209- " $4555555555555555555555555555555555555555555555555555\r\n somemm" ;
208+ std::string ok = " $36893488147419103232\r\n somemm" ;
210209 Buffer buff (ok.c_str (), ok.size ());
211210 auto from = Iterator::begin (buff), to = Iterator::end (buff);
212211 auto parsed_result = r::Protocol::parse<Iterator, Policy>(from, to);
@@ -253,7 +252,7 @@ TEST_CASE("malformed array", "[protocol]") {
253252};
254253
255254TEST_CASE (" malformed array (2)" , " [protocol]" ) {
256- std::string ok = " *555555555555555555555555555555555555555 \r\n some\r\n " ;
255+ std::string ok = " *36893488147419103232 \r\n some\r\n " ;
257256 Buffer buff (ok.c_str (), ok.size ());
258257 auto from = Iterator::begin (buff), to = Iterator::end (buff);
259258 auto parsed_result = r::Protocol::parse (from, to);
You can’t perform that action at this time.
0 commit comments