| 8 | using namespace NYson; |
| 9 | |
| 10 | TEST(TTestYson, YT_17658) |
| 11 | { |
| 12 | const auto data = TStringBuf{"\x01\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"}; |
| 13 | |
| 14 | auto input = TMemoryInput{data}; |
| 15 | |
| 16 | TStringStream out; |
| 17 | { |
| 18 | TYsonWriter writer(&out, EYsonFormat::Text); |
| 19 | EXPECT_THROW(ParseYsonStringBuffer(data, &writer), std::exception); |
| 20 | } |
| 21 | } |
nothing calls this directly
no test coverage detected