summaryrefslogtreecommitdiff
path: root/libperfmgr/tests/NodeTest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libperfmgr/tests/NodeTest.cc')
-rw-r--r--libperfmgr/tests/NodeTest.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/libperfmgr/tests/NodeTest.cc b/libperfmgr/tests/NodeTest.cc
index 2e37a4d5..02429ccd 100644
--- a/libperfmgr/tests/NodeTest.cc
+++ b/libperfmgr/tests/NodeTest.cc
@@ -33,7 +33,8 @@ using namespace std::chrono_literals;
constexpr double kTIMING_TOLERANCE_MS = std::chrono::milliseconds(25).count();
constexpr auto kSLEEP_TOLERANCE_MS = 2ms;
-static inline void _VerifyPathValue(const std::string& path, const std::string& value) {
+static inline void _VerifyPathValue(const std::string& path,
+ const std::string& value) {
std::string s;
EXPECT_TRUE(android::base::ReadFileToString(path, &s)) << strerror(errno);
EXPECT_EQ(value, s);
@@ -63,8 +64,8 @@ TEST(NodeTest, DumpToFdTest) {
TemporaryFile dumptf;
t.DumpToFd(dumptf.fd);
fsync(dumptf.fd);
- std::string buf(android::base::StringPrintf("test_dump\t%s\t1\tvalue1\n",
- tf.path));
+ std::string buf(
+ android::base::StringPrintf("test_dump\t%s\t1\tvalue1\n", tf.path));
_VerifyPathValue(dumptf.path, buf);
}