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_version.cpp b/test/test_version.cpp
index 7da0352..d447e10 100644
--- a/test/test_version.cpp
+++ b/test/test_version.cpp
@@ -66,7 +66,7 @@
writeFile(manifestFilePath, validManifest);
auto ret = Version::getValues(manifestFilePath.string(),
{"purpose", "version", "extended_version"});
- EXPECT_EQ(3u, ret.size());
+ EXPECT_EQ(3U, ret.size());
auto purpose = ret["purpose"];
auto version = ret["version"];
auto extVersion = ret["extended_version"];
@@ -85,7 +85,7 @@
extVersion = "manufacturer=TestManu,model=TestModel";
ret = Version::getExtVersionInfo(extVersion);
- EXPECT_EQ(2u, ret.size());
+ EXPECT_EQ(2U, ret.size());
EXPECT_EQ("TestManu", ret["manufacturer"]);
EXPECT_EQ("TestModel", ret["model"]);
}
@@ -96,7 +96,7 @@
writeFile(manifestFilePath, validManifestWithCRLF);
auto ret = Version::getValues(manifestFilePath.string(),
{"purpose", "version", "extended_version"});
- EXPECT_EQ(3u, ret.size());
+ EXPECT_EQ(3U, ret.size());
auto purpose = ret["purpose"];
auto version = ret["version"];
auto extVersion = ret["extended_version"];