From d43e9c9243aeb67933dbf38afd5f266c743fb57d Mon Sep 17 00:00:00 2001 From: Mike Long Date: Mon, 3 Jan 2011 20:05:08 +0100 Subject: [PATCH] Fix typo --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 1fdaa52..def5c48 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,7 @@ fakes in the setup function of your test suite. This can be a bit of work if you have many fakes, but luckily if you are testing in a C++ environment there is a shortcut using static initialization registration: + void SetUp() { RESET_FAKES(); // resets all fakes @@ -161,6 +162,7 @@ functionA again, how would you do that? Well fff maintains a call history so that it is easy to assert these expectations. Here's how it works: + FAKE_VOID_FUNC2(voidfunc2, char, char); FAKE_VALUE_FUNC0(long, longfunc0);