From 384e8206e134ac24bf3eea816a2ce7e5f04f20d4 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Tue, 16 Feb 2021 15:24:45 +0100 Subject: [PATCH] test: fix test-doctool-html Refs: https://github.com/nodejs/node/pull/37301 --- test/doctool/test-doctool-html.js | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/test/doctool/test-doctool-html.js b/test/doctool/test-doctool-html.js index 1608eb04970222..0f1acfa8d4173b 100644 --- a/test/doctool/test-doctool-html.js +++ b/test/doctool/test-doctool-html.js @@ -72,10 +72,11 @@ const testData = [ html: '

Sample Markdown with YAML info' + '#

' + - '

Foobar

Foobar#

' + ' ' + '

Describe Foobar in more detail here.

' + + '
' + '

Foobar II#

' + '

Describe Foobar II in more detail here.' + 'fg(1)' + - '

Deprecated thingy

' + + '

Deprecated thingy#' + '

Describe ' + 'Deprecated thingy in more detail here.' + 'fg(1p)' + - '

Something#

' + ' ' + '

Describe Something in more detail here.

' @@ -110,14 +113,16 @@ const testData = [ file: fixtures.path('document_with_links.md'), html: '

Usage and Example#' + - '

Usage

Usage#

node \\[options\\] index.js' + '

Please see the' + - 'Command Line Optionsdocument for more information.

' + + 'Command Line Optionsdocument for more information.

' + + '

' + 'Example' + '#

An example of a' + 'webserverwritten with Node.js which responds with' + - '\'Hello, World!\':

See also:

' + + '

See also#

Check' + 'out alsothis guide

' },