git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00aa5c0
)
* added specific test for \0 at the end of buffer
author
Michal Voců
<michal@ruk.cuni.cz>
Thu, 9 Sep 2004 09:36:34 +0000
(09:36 +0000)
committer
Michal Voců
<michal@ruk.cuni.cz>
Thu, 9 Sep 2004 09:36:34 +0000
(09:36 +0000)
org.glite.lb.common/test/il_string_test.cpp
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.common/test/il_string_test.cpp
b/org.glite.lb.common/test/il_string_test.cpp
index
5f1ecc3
..
12a11f3
100644
(file)
--- a/
org.glite.lb.common/test/il_string_test.cpp
+++ b/
org.glite.lb.common/test/il_string_test.cpp
@@
-23,6
+23,7
@@
public:
void testPutString() {
put_string(buffer, "ahoj");
CPPUNIT_ASSERT( !strncmp(buffer,"4 ahoj\n",7) );
+ CPPUNIT_ASSERT(buffer[7] == 0);
}
void testGetString() {