diff --git a/tests/CppUTestExt/TestMockSupport_c.cpp b/tests/CppUTestExt/TestMockSupport_c.cpp index 4cbaffa2e..bae1e7726 100644 --- a/tests/CppUTestExt/TestMockSupport_c.cpp +++ b/tests/CppUTestExt/TestMockSupport_c.cpp @@ -44,9 +44,9 @@ TEST(MockSupport_c, expectAndActualOneCall) TEST(MockSupport_c, expectAndActualParameters) { - mock_c()->expectOneCall("boo")->withIntParameters("integer", 1)->withDoubleParameters("doube", 1.0)-> + mock_c()->expectOneCall("boo")->withIntParameters("integer", 1)->withDoubleParameters("double", 1.0)-> withStringParameters("string", "string")->withPointerParameters("pointer", (void*) 1); - mock_c()->actualCall("boo")->withIntParameters("integer", 1)->withDoubleParameters("doube", 1.0)-> + mock_c()->actualCall("boo")->withIntParameters("integer", 1)->withDoubleParameters("double", 1.0)-> withStringParameters("string", "string")->withPointerParameters("pointer", (void*) 1); } diff --git a/tests/CppUTestExt/TestMockSupport_cCFile.c b/tests/CppUTestExt/TestMockSupport_cCFile.c index da74ee517..a39d7181e 100644 --- a/tests/CppUTestExt/TestMockSupport_cCFile.c +++ b/tests/CppUTestExt/TestMockSupport_cCFile.c @@ -45,9 +45,9 @@ void all_mock_support_c_calls(void) mock_c()->actualCall("boo"); mock_c()->checkExpectations(); - mock_c()->expectOneCall("boo")->withIntParameters("integer", 1)->withDoubleParameters("doube", 1.0)-> + mock_c()->expectOneCall("boo")->withIntParameters("integer", 1)->withDoubleParameters("double", 1.0)-> withStringParameters("string", "string")->withPointerParameters("pointer", (void*) 1); - mock_c()->actualCall("boo")->withIntParameters("integer", 1)->withDoubleParameters("doube", 1.0)-> + mock_c()->actualCall("boo")->withIntParameters("integer", 1)->withDoubleParameters("double", 1.0)-> withStringParameters("string", "string")->withPointerParameters("pointer", (void*) 1); mock_c()->installComparator("typeName", typeNameIsEqual, typeNameValueToString);