| 46 | } |
| 47 | |
| 48 | TEST(TReadVarIntTest, Overflow) |
| 49 | { |
| 50 | TString input("\x80\x80\x80\x80\x80\x80\x80\x80\x80\x80\x01", 11); |
| 51 | TStringInput inputStream(input); |
| 52 | ui64 value; |
| 53 | EXPECT_ANY_THROW(ReadVarUint64(&inputStream, &value)); |
| 54 | } |
| 55 | |
| 56 | //////////////////////////////////////////////////////////////////////////////// |
| 57 |
nothing calls this directly
no test coverage detected