diff --git a/tests/test-minirst.py b/tests/test-minirst.py --- a/tests/test-minirst.py +++ b/tests/test-minirst.py @@ -181,3 +181,10 @@ debugformat('containers (verbose debug)' roles = """Please see :hg:`add`.""" debugformat('roles', roles, 60) + + +sections = """ +A Somewhat Wide Section Header +------------------------------ +""" +debugformat('sections', sections, 20) diff --git a/tests/test-minirst.py.out b/tests/test-minirst.py.out --- a/tests/test-minirst.py.out +++ b/tests/test-minirst.py.out @@ -303,3 +303,9 @@ roles formatted to fit within 60 charact Please see "hg add". ---------------------------------------------------------------------- +sections formatted to fit within 20 characters: +---------------------------------------------------------------------- +A Somewhat Wide Section Header +------------------------------ +---------------------------------------------------------------------- +