Skip to content

Commit 5ccf691

Browse files
restyled-commitsLyudmilaKostanyan
authored andcommitted
Restyled by clang-format
1 parent 17aabad commit 5ccf691

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/app/clusters/testing/CommandTesting.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,15 +146,15 @@ class InvokeOperation
146146
}
147147

148148
// New constructor: allows injection of a custom MockCommandHandler
149-
InvokeOperation(const ConcreteCommandPath & path, std::unique_ptr<MockCommandHandler> handler)
150-
: mCommandPath(path), mHandler(std::move(handler))
149+
InvokeOperation(const ConcreteCommandPath & path, std::unique_ptr<MockCommandHandler> handler) :
150+
mCommandPath(path), mHandler(std::move(handler))
151151
{
152152
mRequest.path = mCommandPath;
153153
}
154154

155155
// Optionally, add an overload for (EndpointId, ClusterId, CommandId, handler)
156-
InvokeOperation(EndpointId endpoint, ClusterId cluster, CommandId command, std::unique_ptr<MockCommandHandler> handler)
157-
: mCommandPath(endpoint, cluster, command), mHandler(std::move(handler))
156+
InvokeOperation(EndpointId endpoint, ClusterId cluster, CommandId command, std::unique_ptr<MockCommandHandler> handler) :
157+
mCommandPath(endpoint, cluster, command), mHandler(std::move(handler))
158158
{
159159
mRequest.path = mCommandPath;
160160
}

0 commit comments

Comments
 (0)