Skip to content

Replaced assert.strictEqual() error messages with template literals

Pull request from Code & Learn!

In test/parallel/test-cluster-send-handle-twice.js, there are calls to the strictEqual method in the assert module. Literals were being passed into the message argument and the values of the error messages were not being printed. Two strictEqual messages have been changed to template literals that now include the code and signal values in the error messages.

Checklist
Affected core subsystem(s)

Merge request reports

Loading