From 1de79298d155834777e1b390b99e9307534c413d Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Sun, 16 Sep 2012 16:34:25 +0200 Subject: [PATCH] Make the test more obvious --- keduvocdocument/tests/keduvocdocumentvalidatortest.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- 2.47.3