clang-tidy: Enable readability-uppercase-literal-suffix check
cert-dcl16-c redirects here as an alias for this check. By default,
only the suffixes that begin with l (l, ll, lu, llu, but not u, ul,
ull) are diagnosed by that alias.
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: I180ee3e3274899c63181f69a14f158319f178f0c
diff --git a/test/test_utils.cpp b/test/test_utils.cpp
index a93af26..114b93a 100644
--- a/test/test_utils.cpp
+++ b/test/test_utils.cpp
@@ -58,7 +58,7 @@
.WillOnce(Return(0)); /* end of std::vector */
auto ret = utils::getPSUInventoryPath(bus);
- EXPECT_EQ(2u, ret.size());
+ EXPECT_EQ(2U, ret.size());
EXPECT_EQ(path0, ret[0]);
EXPECT_EQ(path1, ret[1]);
}
@@ -69,7 +69,7 @@
EXPECT_EQ("", ret);
ret = utils::getVersionId("some version");
- EXPECT_EQ(8u, ret.size());
+ EXPECT_EQ(8U, ret.size());
}
TEST(Utils, IsAssociated)