Skip to content

Commit 9cd5cc8

Browse files
committed
Removed whitespaces
1 parent a42105b commit 9cd5cc8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ You can also use CMake, which also works for Windows Visual Studio.
3232
* make
3333

3434
Then to get started, you'll need to do the following:
35-
* Add the include path to the Makefile. Something like:
35+
* Add the include path to the Makefile. Something like:
3636
* CPPFLAGS += -I(CPPUTEST_HOME)/include
37-
* Add the memory leak macros to you Makefile (needed for additional debug info!). Something like:
37+
* Add the memory leak macros to you Makefile (needed for additional debug info!). Something like:
3838
* CXXFLAGS += -include $(CPPUTEST_HOME)/include/CppUTest/MemoryLeakDetectorNewMacros.h
3939
* CFLAGS += -include $(CPPUTEST_HOME)/include/CppUTest/MemoryLeakDetectorMallocMacros.h
4040
* Add the library linking to your Makefile. Something like:
@@ -56,7 +56,7 @@ TEST(FirstTestGroup, FirstTest)
5656
## Command line switches
5757
5858
* -v verbose, print each test name as it runs
59-
* -r# repeat the tests some number of times, default is one, default is # is not specified is 2. This is handy if you are experiencing memory leaks. A second run that has no leaks indicates that someone
59+
* -r# repeat the tests some number of times, default is one, default is # is not specified is 2. This is handy if you are experiencing memory leaks. A second run that has no leaks indicates that someone
6060
* -g group only run test whose group contains the substring group
6161
* -n name only run test whose name contains the substring name
6262
@@ -86,7 +86,7 @@ The failure of one of these macros causes the current test to immediately exit
8686
* STRCMP_EQUAL(expected, actual) - check const char* strings for equality using strcmp
8787
* LONGS_EQUAL(expected, actual) - Compares two numbers
8888
* BYTES_EQUAL(expected, actual) - Compares two numbers, eight bits wide
89-
* POINTERS_EQUAL(expected, actual) - Compares two const void *
89+
* POINTERS_EQUAL(expected, actual) - Compares two const void *
9090
* DOUBLES_EQUAL(expected, actual, tolerance) - Compares two doubles within some tolerance
9191
* FAIL(text) - always fails
9292
@@ -95,7 +95,7 @@ Customize CHECK_EQUAL to work with your types that support operator==()
9595
9696
* Create the function:
9797
** SimpleString StringFrom (const yourType&)
98-
98+
9999
The Extensions directory has a few of these.
100100
101101
## Building default checks with TestPlugin
@@ -122,9 +122,9 @@ int main(int ac, char** av)
122122
Memory leak detection
123123

124124
* A platform specific memory leak detection mechanism is provided.
125-
* If a test fails and has allocated memory prior to the fail and that memory is not cleaned up by TearDown, a memory leak is reported.
125+
* If a test fails and has allocated memory prior to the fail and that memory is not cleaned up by TearDown, a memory leak is reported.
126126
It is best to only chase memory leaks when other errors have been eliminated.
127-
* Some code uses lazy initialization and appears to leak when it really does not (for example: gcc stringstream used to in an earlier release). One cause is that some standard library calls allocate something and do not free it until after main (or never).
127+
* Some code uses lazy initialization and appears to leak when it really does not (for example: gcc stringstream used to in an earlier release). One cause is that some standard library calls allocate something and do not free it until after main (or never).
128128
To find out if a memory leak is due to lazy initialization set the -r switch to run tests twice. The signature of this situation is that the first run shows leaks and the second run shows no leaks. When both runs show leaks, you have a leak to find.
129129

130130
## How is memory leak detection implemented?
@@ -189,7 +189,7 @@ TEST(ClassName, Create)
189189
}
190190
```
191191
192-
There are some scripts that are helpful in creating your initial h, cpp, and
192+
There are some scripts that are helpful in creating your initial h, cpp, and
193193
Test files. See scripts/README.TXT
194194
195195

0 commit comments

Comments
 (0)