Closed benoitkugler closed 7 months ago
@whereswaldon I've adjusted some tests in TestLineWrapperBreakSpecific
. I think the new output values are fine, but I also think some of the tests may not be as informative as previously, with respect to the BreakPolicy
option. When you have some time, would it be possible for you to carefully review these changes ?
@whereswaldon I've adjusted some tests in
TestLineWrapperBreakSpecific
. I think the new output values are fine, but I also think some of the tests may not be as informative as previously, with respect to theBreakPolicy
option. When you have some time, would it be possible for you to carefully review these changes ?
@benoitkugler Done! I've fixed up two tests to ensure that they still check the right things. Looks good to me now.
@benoitkugler Done! I've fixed up two tests to ensure that they still check the right things. Looks good to me now.
Many thanks !
Following the discussion on #90 , this is a try at better handling trailing spaces.
This is not complete (tests are not event passing), but I would be interested in early feedback.
One of the difficulty is about handling truncation properly : I think the behavior should be, for a width of 5, to truncate
quick_fox
toquick_...
(but with a zero advance space) and not toquick...