summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2019-11-06 11:38:56 +0100
committerDaiki Ueno <dueno@redhat.com>2019-11-06 11:38:56 +0100
commita79cacbe5b1777b847487623097a470d7cc96ae8 (patch)
tree8a606fcfc65bbcf2a9825201e5fa490cb29a7cbd
parent0e52897da7438eae158b1e4b6637116302cb0bf2 (diff)
downloadnss-hg-a79cacbe5b1777b847487623097a470d7cc96ae8.tar.gz
Bug 1577803, clang-format, a=bustage
-rw-r--r--gtests/pk11_gtest/pk11_module_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtests/pk11_gtest/pk11_module_unittest.cc b/gtests/pk11_gtest/pk11_module_unittest.cc
index 1cc1df06e..9627c823e 100644
--- a/gtests/pk11_gtest/pk11_module_unittest.cc
+++ b/gtests/pk11_gtest/pk11_module_unittest.cc
@@ -52,8 +52,7 @@ TEST_F(Pkcs11ModuleTest, ListSlots) {
const std::vector<std::string> kSlotsWithToken = {
"NSS Internal Cryptographic Services",
"NSS User Private Key and Certificate Services",
- "Test PKCS11 Public Certs Slot",
- "Test PKCS11 Slot 二"};
+ "Test PKCS11 Public Certs Slot", "Test PKCS11 Slot 二"};
std::vector<std::string> foundSlots;
do {
@@ -76,7 +75,8 @@ TEST_F(Pkcs11ModuleTest, PublicCertificatesToken) {
EXPECT_NE(nullptr, slot1);
EXPECT_FALSE(PK11_IsFriendly(slot1.get()));
- ScopedPK11SlotInfo slot2(PK11_FindSlotByName(kPublicCertificatesToken.c_str()));
+ ScopedPK11SlotInfo slot2(
+ PK11_FindSlotByName(kPublicCertificatesToken.c_str()));
EXPECT_NE(nullptr, slot2);
EXPECT_TRUE(PK11_IsFriendly(slot2.get()));
}