Skip to content

test: unclear error with _toc.html #21912

Closed
@mcollina

Description

@mcollina
  • Version: master
  • Platform: OS X
  • Subsystem: doc

I'm adding a new error code, and I'm getting:

=== release test-make-doc ===
Path: doctool/test-make-doc
assert.js:338
    throw err;
    ^

AssertionError [ERR_ASSERTION]: _toc.html does not not match TOC
    at Object.<anonymous> (/Users/matteo/Repositories/node/test/doctool/test-make-doc.js:45:10)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
    at startup (internal/bootstrap/node.js:266:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:596:3)
Command: out/Release/node /Users/matteo/Repositories/node/test/doctool/test-make-doc.js

Considering that _toc.md was deleted in #21637, what should I do to fix this?

cc @rubys

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.testIssues and PRs related to the tests.toolsIssues and PRs related to the tools directory.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions