]> Git trees. - libqmvoc.git/commitdiff
Make the test more obvious
authorAlbert Astals Cid <aacid@kde.org>
Sun, 16 Sep 2012 14:34:25 +0000 (16:34 +0200)
committerAlbert Astals Cid <aacid@kde.org>
Sun, 16 Sep 2012 14:34:25 +0000 (16:34 +0200)
keduvocdocument/tests/keduvocdocumentvalidatortest.cpp

index acf3f782fdda181fd182b4e8d6a4e69185e25063..834564c0e8c751df5c4290a830e32618bb47a28d 100644 (file)
@@ -145,6 +145,7 @@ void KEduVocDocumentValidatorTest::testWordTypes()
     }
     QCOMPARE(doc.lesson()->entryCount(), 20);
     QCOMPARE(noun->entryCount(), 20);
+    QCOMPARE(verb->entryCount(), 0);
     doc.lesson()->entry(0)->translation(0)->setWordType(verb);
     // translation 1 is still noun, so it needs to be in both now
     QCOMPARE(noun->entryCount(), 20);