mirror of
https://github.com/taglib/taglib.git
synced 2025-07-18 21:14:23 -04:00
A bit more tolerant check to return itself in String::substr().
This commit is contained in:
@ -257,6 +257,8 @@ public:
|
||||
CPPUNIT_ASSERT_EQUAL(String("01"), String("0123456").substr(0, 2));
|
||||
CPPUNIT_ASSERT_EQUAL(String("12"), String("0123456").substr(1, 2));
|
||||
CPPUNIT_ASSERT_EQUAL(String("123456"), String("0123456").substr(1, 200));
|
||||
CPPUNIT_ASSERT_EQUAL(String("0123456"), String("0123456").substr(0, 7));
|
||||
CPPUNIT_ASSERT_EQUAL(String("0123456"), String("0123456").substr(0, 200));
|
||||
}
|
||||
|
||||
void testNewline()
|
||||
|
Reference in New Issue
Block a user