diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-06-02 17:05:42 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-06-02 17:05:42 +0300 |
commit | b93c9c23c9b51d4a1bfd26a5b400186315e89976 (patch) | |
tree | 093f23b182af1176526148dae1fb5abc5e008194 /library/cpp/monlib/encode/format_ut.cpp | |
parent | c768b09694655b942cfd5bc66db6c8c2ece24f75 (diff) | |
download | ydb-b93c9c23c9b51d4a1bfd26a5b400186315e89976.tar.gz |
intermediate changes
ref:8868513666cce733c1c659c7f2d683ffab1150dd
Diffstat (limited to 'library/cpp/monlib/encode/format_ut.cpp')
-rw-r--r-- | library/cpp/monlib/encode/format_ut.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/cpp/monlib/encode/format_ut.cpp b/library/cpp/monlib/encode/format_ut.cpp index 22a0e30c03..644a36ee53 100644 --- a/library/cpp/monlib/encode/format_ut.cpp +++ b/library/cpp/monlib/encode/format_ut.cpp @@ -61,6 +61,10 @@ Y_UNIT_TEST_SUITE(TFormatTest) { UNIT_ASSERT_EQUAL( FormatFromAcceptHeader("text/plain"), EFormat::PROMETHEUS); + + UNIT_ASSERT_EQUAL( + FormatFromAcceptHeader("application/openmetrics-text;version=0.0.1;q=0.75,text/plain;version=0.0.4"), + EFormat::PROMETHEUS); } Y_UNIT_TEST(FormatToStrFromStr) { |