diff options
author | pg <pg@yandex-team.com> | 2023-09-08 00:37:20 +0300 |
---|---|---|
committer | pg <pg@yandex-team.com> | 2023-09-08 01:01:57 +0300 |
commit | b97b0832e206cc28d87033bd416e966698007e19 (patch) | |
tree | 61fdbc3ebed419be5cf071f3b378db9f1d39740d | |
parent | 3a6cd865171eed9b89bf536cd242285f8b583a91 (diff) | |
download | ydb-b97b0832e206cc28d87033bd416e966698007e19.tar.gz |
-rw-r--r-- | ydb/library/yql/minikql/computation/mkql_computation_node_pack_ut.cpp | 2 | ||||
-rw-r--r-- | ydb/library/yql/minikql/computation/mkql_computation_pattern_cache_ut.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ydb/library/yql/minikql/computation/mkql_computation_node_pack_ut.cpp b/ydb/library/yql/minikql/computation/mkql_computation_node_pack_ut.cpp index 6234ef827b..75669f9048 100644 --- a/ydb/library/yql/minikql/computation/mkql_computation_node_pack_ut.cpp +++ b/ydb/library/yql/minikql/computation/mkql_computation_node_pack_ut.cpp @@ -28,7 +28,7 @@ namespace NMiniKQL { #ifdef WITH_VALGRIND constexpr static size_t PERFORMANCE_COUNT = 0x1000; -#elifdef NDEBUG +#elif defined(NDEBUG) constexpr static size_t PERFORMANCE_COUNT = NSan::PlainOrUnderSanitizer(0x4000000, 0x1000); #else constexpr static size_t PERFORMANCE_COUNT = NSan::PlainOrUnderSanitizer(0x1000000, 0x1000); diff --git a/ydb/library/yql/minikql/computation/mkql_computation_pattern_cache_ut.cpp b/ydb/library/yql/minikql/computation/mkql_computation_pattern_cache_ut.cpp index f16ee88a84..5a36e44699 100644 --- a/ydb/library/yql/minikql/computation/mkql_computation_pattern_cache_ut.cpp +++ b/ydb/library/yql/minikql/computation/mkql_computation_pattern_cache_ut.cpp @@ -616,7 +616,7 @@ Y_UNIT_TEST_SUITE(ComputationPatternCache) { auto graph = entry->Pattern->Clone(opts.ToComputationOptions(*randomProvider, *timeProvider, &graphAlloc.Ref())); auto value = graph->GetValue(); - UNIT_ASSERT_EQUAL(value.AsStringRef(), NYql::NUdf::TStringRef("qwerty")); + UNIT_ASSERT_EQUAL(NYql::NUdf::TStringRef("qwerty"), value.AsStringRef()); } } |