diff --git a/test/doctool/test-doctool-html.js b/test/doctool/test-doctool-html.js index 1eb96751cc0adb..a8476b7234c9fa 100644 --- a/test/doctool/test-doctool-html.js +++ b/test/doctool/test-doctool-html.js @@ -3,6 +3,7 @@ const common = require('../common'); const assert = require('assert'); const fs = require('fs'); +const path = require('path'); const html = require('../../tools/doc/html.js'); @@ -13,13 +14,13 @@ const html = require('../../tools/doc/html.js'); // have an html parser. const testData = [ { - 'file': common.fixturesDir + '/sample_document.md', - 'html': '
  1. fish
  2. fish

  3. Redfish

  4. ' + + file: path.join(common.fixturesDir, 'sample_document.md'), + html: '
    1. fish
    2. fish

    3. Redfish

    4. ' + '
    5. Bluefish
    ' }, { - 'file': common.fixturesDir + '/order_of_end_tags_5873.md', - 'html': '

    ClassMethod: Buffer.from(array) ' + + file: path.join(common.fixturesDir, 'order_of_end_tags_5873.md'), + html: '

    ClassMethod: Buffer.from(array) ' + '#