MCPcopy Create free account
hub / github.com/catboost/catboost / TEST

Function TEST

library/cpp/yson/ut/yson_ut.cpp:10–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8using namespace NYson;
9
10TEST(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}

Callers

nothing calls this directly

Calls 1

ParseYsonStringBufferFunction · 0.85

Tested by

no test coverage detected