[Kst] branches/work/kst/1.1/kst/tests

George Staikos staikos at kde.org
Tue Oct 25 18:25:28 CEST 2005


SVN commit 474171 by staikos:

fix testcase


 M  +2 -2      testvector.cpp  


--- branches/work/kst/1.1/kst/tests/testvector.cpp #474170:474171
@@ -40,10 +40,10 @@
   doTest(v1->value()[0] == -42);
 
   KstVectorPtr v2 = new KstVector(QString::null, 0);
-  doTest(v2->length() == 2);
+  doTest(v2->length() == 1);
   doTest(v2->tagName().startsWith("Anonymous")); // valid only in en_*
   v2 = new KstVector("V2", 1);
-  doTest(v2->length() == 2);
+  doTest(v2->length() == 1);
   v2 = new KstVector("V2", 2);
   doTest(v2->length() == 2);
 


More information about the Kst mailing list