Replace deprecated assert functions in test files. (#16945)

This commit is contained in:
Cory Rivera
2021-08-31 09:04:17 -07:00
committed by GitHub
parent de3ff30398
commit 0082031f97
79 changed files with 1960 additions and 1965 deletions

View File

@@ -80,7 +80,7 @@ function validate(test: TestDefinition, semVerProxy: SymVerProxyTest) {
for (const key in test.expected) {
const expected = test.expected[key];
if (expected) {
assert.equal(semVerProxy[key].toString(), expected.toString(), `validation for property ${key} failed.`);
assert.strictEqual(semVerProxy[key].toString(), expected.toString(), `validation for property ${key} failed.`);
}
}
}