diff options
author | dmasloff <[email protected]> | 2024-08-17 23:33:42 +0300 |
---|---|---|
committer | dmasloff <[email protected]> | 2024-08-17 23:43:45 +0300 |
commit | 69340f4614e853b9319df4b454ab7497711ee3cd (patch) | |
tree | 9902a3e2f58fe0bd9a157e7b51ad1cc52efa5744 /util/generic/array_ref_ut.cpp | |
parent | a905b53ec410defd5d2c40031ef8b34bb50a29f8 (diff) |
Set SpacesInLineCommentPrefix to 1 in /util
Set SpacesInLineCommentPrefix to 1 in /util
3853f9ec5143722c1bebd8dc0ffc9b61a6c17657
Diffstat (limited to 'util/generic/array_ref_ut.cpp')
-rw-r--r-- | util/generic/array_ref_ut.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/generic/array_ref_ut.cpp b/util/generic/array_ref_ut.cpp index 4c8eaf7135a..c71fb613447 100644 --- a/util/generic/array_ref_ut.cpp +++ b/util/generic/array_ref_ut.cpp @@ -34,7 +34,7 @@ Y_UNIT_TEST_SUITE(TestArrayRef) { ref[0] = 5; UNIT_ASSERT_VALUES_EQUAL(a[0], 5); - //FIXME: size checks are implemented via Y_ASSERT, hence there is no way to test them + // FIXME: size checks are implemented via Y_ASSERT, hence there is no way to test them } Y_UNIT_TEST(TestFrontBack) { @@ -165,7 +165,7 @@ Y_UNIT_TEST_SUITE(TestArrayRef) { TArrayRef<int> bSubRef(b, size - 1); - //Testing if operator== compares values, not pointers + // Testing if operator== compares values, not pointers UNIT_ASSERT_EQUAL(cRef, bSubRef); } @@ -210,7 +210,7 @@ Y_UNIT_TEST_SUITE(TestArrayRef) { UNIT_ASSERT_VALUES_EQUAL(s1.size(), 1); UNIT_ASSERT_VALUES_EQUAL(s1[0], 3); - //FIXME: size checks are implemented via Y_ASSERT, hence there is no way to test them + // FIXME: size checks are implemented via Y_ASSERT, hence there is no way to test them } Y_UNIT_TEST(SubRegion) { @@ -240,8 +240,8 @@ Y_UNIT_TEST_SUITE(TestArrayRef) { bytesRef, MakeArrayRef(std::vector<char>{0x01, 0x00, 0x02, 0x00, 0x03, 0x00})); - //should not compile - //as_writable_bytes(constRef); + // should not compile + // as_writable_bytes(constRef); } Y_UNIT_TEST(TestAsWritableBytes) { |