clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I5317fbcfbe69b8699e79b62cb855cb142a1d32c3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/test/stream_service_test.cpp b/test/stream_service_test.cpp
index ab62c78..17ec64f 100644
--- a/test/stream_service_test.cpp
+++ b/test/stream_service_test.cpp
@@ -68,15 +68,15 @@
sa.sun_family = AF_UNIX;
memcpy(sa.sun_path, socketPath, sizeof(socketPath) - 1);
sa.sun_path[sizeof(socketPath) - 1] = '\0';
- const socklen_t len =
- sizeof(sa) - sizeof(sa.sun_path) + sizeof(socketPath) - 1;
+ const socklen_t len = sizeof(sa) - sizeof(sa.sun_path) +
+ sizeof(socketPath) - 1;
ASSERT_NE(
bind(serverSocket, reinterpret_cast<const sockaddr*>(&sa), len),
-1);
}
// Set hostConsole firstly read specified data and then read nothing.
- void setHostConsoleOnce(char const* data, size_t len)
+ void setHostConsoleOnce(const char* data, size_t len)
{
EXPECT_CALL(hostConsoleMock, read(_, Le(consoleReadMaxSize)))
.WillOnce(DoAll(SetArrayArgument<0>(data, data + len), Return(len)))