Skip to content

Commit

Permalink
Fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
basvodde committed Sep 23, 2013
1 parent 96e5cde commit ee14dc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/CppUTestExt/TestMockSupport_c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
4 changes: 2 additions & 2 deletions tests/CppUTestExt/TestMockSupport_cCFile.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ee14dc0

Please sign in to comment.