From 60e4dc110320217fed1759dfe18e80fe394a563d Mon Sep 17 00:00:00 2001 From: Serhii Hadzhilov Date: Thu, 15 Oct 2020 11:59:28 +0300 Subject: [PATCH] SYNERGY-323 No configuration available. Fix test to use correct data size in mock. --- src/test/unittests/synergy/ProtocolUtilTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/unittests/synergy/ProtocolUtilTests.cpp b/src/test/unittests/synergy/ProtocolUtilTests.cpp index 3a502d9a4..5b7ec40cf 100644 --- a/src/test/unittests/synergy/ProtocolUtilTests.cpp +++ b/src/test/unittests/synergy/ProtocolUtilTests.cpp @@ -262,7 +262,7 @@ TEST_P(ReadfIntAndStringTest, readf_int_and_string) ) .WillOnce( DoAll( - SetValueToVoidPointerArg0(StringSize.data(), sizeof(StringSize.size())), + SetValueToVoidPointerArg0(StringSize.data(), StringSize.size()), Return(StringSize.size()) ) )