summaryrefslogtreecommitdiffstats
path: root/util/generic/array_size_ut.cpp
diff options
context:
space:
mode:
authoryazevnul <[email protected]>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/generic/array_size_ut.cpp
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 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 b3243425a91..13f45903c51 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);
}
}