@@ -1536,12 +1536,24 @@ public static function provideTruncate(): array
15361536 ['foobar foo aar ' ,'foobar foo aar ' ,12 ,'... ' ,false ],
15371537 ['foobar... ' ,'foobar foo ' ,6 ,'... ' , TruncateMode::WordAfter],
15381538 ['foobar... ' ,'foobar foo ' ,7 ,'... ' , TruncateMode::WordAfter],
1539+ ['foobar... ' ,'foobar foo a ' ,10 ,'... ' , TruncateMode::Char],
1540+ ['foobar... ' ,'foobar foo a ' ,10 ,'... ' , TruncateMode::WordBefore],
15391541 ['foobar foo... ' ,'foobar foo a ' ,10 ,'... ' , TruncateMode::WordAfter],
1542+ ['foobar fo... ' ,'foobar foo aar ' ,12 ,'... ' , TruncateMode::Char],
15401543 ['foobar foo aar ' ,'foobar foo aar ' ,12 ,'... ' , TruncateMode::WordAfter],
1544+ ['foobar... ' ,'foobar foo aar ' ,12 ,'... ' , TruncateMode::WordBefore],
1545+ ['foobar foo ' ,'foobar foo aar ' ,10 ,'' , TruncateMode::Char],
15411546 ['foobar foo ' ,'foobar foo aar ' ,10 ,'' , TruncateMode::WordBefore],
1547+ ['foobar foo ' ,'foobar foo aar ' ,10 ,'' , TruncateMode::WordAfter],
1548+ ['foobar... ' ,'foobar foo aar ' ,10 ,'... ' , TruncateMode::Char],
15421549 ['foobar... ' ,'foobar foo aar ' ,10 ,'... ' , TruncateMode::WordBefore],
1550+ ['foobar foo... ' ,'foobar foo aar ' ,10 ,'... ' , TruncateMode::WordAfter],
1551+ ['Lorem ipsum do ' ,'Lorem ipsum dolor sit amet ' ,14 ,'' , TruncateMode::Char],
15431552 ['Lorem ipsum ' ,'Lorem ipsum dolor sit amet ' ,14 ,'' , TruncateMode::WordBefore],
1553+ ['Lorem ipsum dolor ' ,'Lorem ipsum dolor sit amet ' ,14 ,'' , TruncateMode::WordAfter],
1554+ ['Lorem i... ' ,'Lorem ipsum dolor sit amet ' ,10 ,'... ' , TruncateMode::Char],
15441555 ['Lorem... ' ,'Lorem ipsum dolor sit amet ' ,10 ,'... ' , TruncateMode::WordBefore],
1556+ ['Lorem ipsum... ' ,'Lorem ipsum dolor sit amet ' ,10 ,'... ' , TruncateMode::WordAfter],
15451557 ];
15461558 }
15471559