[sword-cvs] sword/tests swbuftest.cpp,1.7,1.8

sword@www.crosswire.org sword@www.crosswire.org
Sat, 17 Apr 2004 10:17:19 -0700


Update of /cvs/core/sword/tests
In directory www:/tmp/cvs-serv8699/tests

Modified Files:
	swbuftest.cpp 
Log Message:
fix 

Index: swbuftest.cpp
===================================================================
RCS file: /cvs/core/sword/tests/swbuftest.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- swbuftest.cpp	17 Apr 2004 17:16:17 -0000	1.7
+++ swbuftest.cpp	17 Apr 2004 17:17:17 -0000	1.8
@@ -97,7 +97,7 @@
 }
 
 int main(int argc, char **argv) {
-/*	SWBuf x;
+	SWBuf x;
 	cout << "x should be (): (" << x << ")\n";
 	cout << "size should be 0: " << x.size() << "\n";
 	x = "hello";
@@ -124,12 +124,5 @@
 	subscriptTest();
 	ctorAssignTest();
 	compareTest();
-*/
-
-	SWBuf text;
-	for (long int i = 0; i < 10000000; ++i) {
-//		text.append("a");
-		text.append('a');
-	}
 }