From 2cbaccdf68214a1b0aab847c881f8abc7aa2b9b7 Mon Sep 17 00:00:00 2001 From: milde Date: Sun, 5 Feb 2017 10:29:18 +0000 Subject: [PATCH] Update tests to match patch 8021 Provide default title in metadata. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8023 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- test/functional/expected/compact_lists.html | 2 +- test/functional/expected/dangerous.html | 2 +- test/functional/expected/field_name_limit.html | 2 +- test/functional/expected/misc_rst_html4css1.html | 2 +- test/test_writers/test_html4css1_parts.py | 32 ++++++++++++------------ 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/test/functional/expected/compact_lists.html b/test/functional/expected/compact_lists.html index 73a2ab555..6aae8f546 100644 --- a/test/functional/expected/compact_lists.html +++ b/test/functional/expected/compact_lists.html @@ -4,7 +4,7 @@ - +compact_lists.txt diff --git a/test/functional/expected/dangerous.html b/test/functional/expected/dangerous.html index 8bae90a47..1021e67a9 100644 --- a/test/functional/expected/dangerous.html +++ b/test/functional/expected/dangerous.html @@ -4,7 +4,7 @@ - +dangerous.txt diff --git a/test/functional/expected/field_name_limit.html b/test/functional/expected/field_name_limit.html index 36f101ea0..da903c08d 100644 --- a/test/functional/expected/field_name_limit.html +++ b/test/functional/expected/field_name_limit.html @@ -4,7 +4,7 @@ - +field_list.txt diff --git a/test/functional/expected/misc_rst_html4css1.html b/test/functional/expected/misc_rst_html4css1.html index 34f888969..b8f4b598a 100644 --- a/test/functional/expected/misc_rst_html4css1.html +++ b/test/functional/expected/misc_rst_html4css1.html @@ -4,7 +4,7 @@ - +link_in_substitution.txt diff --git a/test/test_writers/test_html4css1_parts.py b/test/test_writers/test_html4css1_parts.py index abd4d2bf8..97affbf7e 100755 --- a/test/test_writers/test_html4css1_parts.py +++ b/test/test_writers/test_html4css1_parts.py @@ -33,7 +33,7 @@ Simple String 'html_body': '''

Simple String

\\n''', - 'html_head': '''...\\n'''} + 'html_head': '''...<string>\\n'''} """], ["""\ Simple String with *markup* @@ -43,7 +43,7 @@ Simple String with *markup* 'html_body': '''

Simple String with markup

\\n''', - 'html_head': '''...\\n'''} + 'html_head': '''...<string>\\n'''} """], ["""\ Simple String with an even simpler ``inline literal`` @@ -53,7 +53,7 @@ Simple String with an even simpler ``inline literal`` 'html_body': '''

Simple String with an even simpler inline literal

\\n''', - 'html_head': '''...\\n'''} + 'html_head': '''...<string>\\n'''} """], ["""\ A simple `anonymous reference`__ @@ -65,7 +65,7 @@ __ http://www.test.com/test_url 'html_body': '''

A simple anonymous reference

\\n''', - 'html_head': '''...\\n'''} + 'html_head': '''...<string>\\n'''} """], ["""\ One paragraph. @@ -79,7 +79,7 @@ Two paragraphs.

One paragraph.

Two paragraphs.

\\n''', - 'html_head': '''...\\n'''} + 'html_head': '''...<string>\\n'''} """], ["""\ A simple `named reference`_ with stuff in between the @@ -94,7 +94,7 @@ reference and the target.

\\n''',

A simple named reference with stuff in between the reference and the target.

\\n''', - 'html_head': '''...\\n'''} + 'html_head': '''...<string>\\n'''} """], ["""\ +++++ @@ -195,7 +195,7 @@ Simple String 'html_body': '''

Simple String

\\n''', - 'html_head': '''...\\n'''} + 'html_head': '''...<string>\\n'''} """], ["""\ Simple String with *markup* @@ -205,7 +205,7 @@ Simple String with *markup* 'html_body': '''

Simple String with markup

\\n''', - 'html_head': '''...\\n'''} + 'html_head': '''...<string>\\n'''} """], ["""\ Simple String with an even simpler ``inline literal`` @@ -215,7 +215,7 @@ Simple String with an even simpler ``inline literal`` 'html_body': '''

Simple String with an even simpler inline literal

\\n''', - 'html_head': '''...\\n'''} + 'html_head': '''...<string>\\n'''} """], ["""\ A simple `anonymous reference`__ @@ -227,7 +227,7 @@ __ http://www.test.com/test_url 'html_body': '''

A simple anonymous reference

\\n''', - 'html_head': '''...\\n'''} + 'html_head': '''...<string>\\n'''} """], ["""\ A simple `named reference`_ with stuff in between the @@ -242,7 +242,7 @@ reference and the target.

\\n''',

A simple named reference with stuff in between the reference and the target.

\\n''', - 'html_head': '''...\\n'''} + 'html_head': '''...<string>\\n'''} """], ["""\ +++++ @@ -297,7 +297,7 @@ And even more stuff \\n''', - 'html_head': '''...\\n'''} + 'html_head': '''...<string>\\n'''} """], ["""\ * bullet @@ -314,7 +314,7 @@ And even more stuff
  • list
  • \\n''', - 'html_head': '''...\\n'''} + 'html_head': '''...<string>\\n'''} """], ["""\ .. table:: @@ -357,7 +357,7 @@ And even more stuff \\n''', - 'html_head': '''...\\n'''} + 'html_head': '''...<string>\\n'''} """], ["""\ Not a docinfo. @@ -404,7 +404,7 @@ Not a docinfo. \\n''', - 'html_head': '''...\\n'''} + 'html_head': '''...<string>\\n'''} """], ["""\ Not a docinfo. @@ -439,7 +439,7 @@ Not a docinfo. \\n''', - 'html_head': '''...\\n'''} + 'html_head': '''...<string>\\n'''} """], ]) -- 2.11.4.GIT