From: Albert Astals Cid Date: Sun, 16 Sep 2012 14:34:25 +0000 (+0200) Subject: Make the test more obvious X-Git-Tag: v4.9.80~1 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=1de79298d155834777e1b390b99e9307534c413d;p=libqmvoc.git Make the test more obvious --- diff --git a/keduvocdocument/tests/keduvocdocumentvalidatortest.cpp b/keduvocdocument/tests/keduvocdocumentvalidatortest.cpp index acf3f78..834564c 100644 --- a/keduvocdocument/tests/keduvocdocumentvalidatortest.cpp +++ b/keduvocdocument/tests/keduvocdocumentvalidatortest.cpp @@ -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);