Kaydet (Commit) 2a8e751e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Improve test

Change-Id: I54e939b7bca883f1c92c957c66ebf47259c92a46
üst 51ac50b5
......@@ -41,6 +41,7 @@ void SyntaxHighlightTest::testBasicString()
aPortions.begin(), itrEnd = aPortions.end(); itr != itrEnd; ++itr)
{
CPPUNIT_ASSERT_EQUAL(prevEnd, itr->nBegin);
CPPUNIT_ASSERT(itr->nBegin < itr->nEnd);
prevEnd = itr->nEnd;
}
CPPUNIT_ASSERT_EQUAL(aBasicString.getLength(), prevEnd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment