DEP0094:使用 assert.fail() 时传入多个参数


【DEP0094: Using assert.fail() with more than one argument】

类型:运行时

【Type: Runtime】

使用带有多个参数的 assert.fail() 已被弃用。请使用仅带一个参数的 assert.fail() 或使用其他 node:assert 模块方法。

【Using assert.fail() with more than one argument is deprecated. Use assert.fail() with only one argument or use a different node:assert module method.】