Commit f9f10a1e authored by Nikolai Kosjar's avatar Nikolai Kosjar

Clang: Fix conversion warning in tests

mock-matchers.h:204:60: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
   bool operator()(const A& a, const B& b) const { return a == b; }
                                                             ~~^~~~

Change-Id: I58883118e1eb42f2e0129b760cdce07daf4ac8d3
Reviewed-by: Marco Bubke's avatarMarco Bubke <marco.bubke@qt.io>
Reviewed-by: Ivan Donchevskii's avatarIvan Donchevskii <ivan.donchevskii@qt.io>
parent ae485ac5
......@@ -79,7 +79,8 @@ TEST_F(CompleteCodeJob, ForwardTicketNumber)
job.setContext(jobContextWithMockClient);
job.prepareAsyncRun();
EXPECT_CALL(mockIpcClient,
codeCompleted(Property(&CodeCompletedMessage::ticketNumber, Eq(99))))
codeCompleted(Property(&CodeCompletedMessage::ticketNumber,
Eq(jobRequest.ticketNumber))))
.Times(1);
job.runAsync();
......
......@@ -79,7 +79,7 @@ TEST_F(RequestReferencesJob, ForwardTicketNumber)
job.setContext(jobContextWithMockClient);
job.prepareAsyncRun();
EXPECT_CALL(mockIpcClient,
references(Property(&ReferencesMessage::ticketNumber, Eq(99))))
references(Property(&ReferencesMessage::ticketNumber, Eq(jobRequest.ticketNumber))))
.Times(1);
job.runAsync();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment