DEP0094:将 assert.fail() 与多个参数一起使用
\DEP0094: Using assert.fail() with more than one argument
版本历史
| 版本 | 变更 |
|---|---|
| v10.0.0 | 运行时弃用。 |
类型:运行时
\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.