summaryrefslogtreecommitdiffstats
path: root/util/generic/array_size_ut.cpp
diff options
context:
space:
mode:
authoryazevnul <[email protected]>2022-02-10 16:46:46 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:46 +0300
commit8cbc307de0221f84c80c42dcbe07d40727537e2c (patch)
tree625d5a673015d1df891e051033e9fcde5c7be4e5 /util/generic/array_size_ut.cpp
parent30d1ef3941e0dc835be7609de5ebee66958f215a (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/generic/array_size_ut.cpp')
-rw-r--r--util/generic/array_size_ut.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/util/generic/array_size_ut.cpp b/util/generic/array_size_ut.cpp
index 13f45903c51..b3243425a91 100644
--- a/util/generic/array_size_ut.cpp
+++ b/util/generic/array_size_ut.cpp
@@ -2,21 +2,21 @@
#include <library/cpp/testing/unittest/registar.h>
-Y_UNIT_TEST_SUITE(ArraySizeTest) {
- Y_UNIT_TEST(Test1) {
+Y_UNIT_TEST_SUITE(ArraySizeTest) {
+ Y_UNIT_TEST(Test1) {
int x[100];
- Y_UNUSED(x); /* Make MSVC happy. */
+ Y_UNUSED(x); /* Make MSVC happy. */
- UNIT_ASSERT_VALUES_EQUAL(Y_ARRAY_SIZE(x), 100);
+ UNIT_ASSERT_VALUES_EQUAL(Y_ARRAY_SIZE(x), 100);
}
- Y_UNIT_TEST(Test2) {
+ Y_UNIT_TEST(Test2) {
struct T {
};
T x[1];
- Y_UNUSED(x); /* Make MSVC happy. */
+ Y_UNUSED(x); /* Make MSVC happy. */
- UNIT_ASSERT_VALUES_EQUAL(Y_ARRAY_SIZE(x), 1);
+ UNIT_ASSERT_VALUES_EQUAL(Y_ARRAY_SIZE(x), 1);
}
}