From 178472691d9fff0337e9970146f726171829c36b Mon Sep 17 00:00:00 2001 From: goldlinker Date: Thu, 23 Oct 2025 17:29:23 +0800 Subject: [PATCH] chore: fix some minor issues in the comments Signed-off-by: goldlinker --- tests/hardhat/Comptroller/Diamond/comptrollerTest.ts | 4 ++-- tests/hardhat/Fork/liquidatorForkTestsTestnet.ts | 2 +- tests/hardhat/Prime/PrimeLiquidityProvider.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/hardhat/Comptroller/Diamond/comptrollerTest.ts b/tests/hardhat/Comptroller/Diamond/comptrollerTest.ts index 29d92812c..c120d3396 100644 --- a/tests/hardhat/Comptroller/Diamond/comptrollerTest.ts +++ b/tests/hardhat/Comptroller/Diamond/comptrollerTest.ts @@ -1106,7 +1106,7 @@ describe("Comptroller", () => { ); }); - it("should return silenty if borrowAllowed is already set to desired value", async () => { + it("should return silently if borrowAllowed is already set to desired value", async () => { await comptroller.setIsBorrowAllowed(poolId, vToken.address, true); await expect(comptroller.setIsBorrowAllowed(poolId, vToken.address, true)).to.not.emit( comptroller, @@ -1406,7 +1406,7 @@ describe("Comptroller", () => { ); }); - it("should return silenty if isActive is already set to desired value", async () => { + it("should return silently if isActive is already set to desired value", async () => { await comptroller.setPoolActive(poolId, true); await expect(comptroller.setPoolActive(poolId, true)).to.not.emit(comptroller, "BorrowAllowedUpdated"); }); diff --git a/tests/hardhat/Fork/liquidatorForkTestsTestnet.ts b/tests/hardhat/Fork/liquidatorForkTestsTestnet.ts index fa88a2cfa..51a8baeb5 100644 --- a/tests/hardhat/Fork/liquidatorForkTestsTestnet.ts +++ b/tests/hardhat/Fork/liquidatorForkTestsTestnet.ts @@ -71,7 +71,7 @@ if (FORK_TESTNET) { await oracle.setDirectPrice(USDC, convertToUnit("1", 10)); await liquidator.setMinLiquidatableVAI(convertToUnit("100", 18)); }); - it("Liquidate Normaly if VAI debt is lower than minLiquidatableVAI", async () => { + it("Liquidate Normally if VAI debt is lower than minLiquidatableVAI", async () => { const liquidateUserBalanceBefore = await vUsdc.balanceOf(liquidatorUser); const protocolBalanceBefore = await usdc.balanceOf(PROTOCOL_SHARE_RESERVE); await expect( diff --git a/tests/hardhat/Prime/PrimeLiquidityProvider.ts b/tests/hardhat/Prime/PrimeLiquidityProvider.ts index 724b2f61d..4897c136e 100644 --- a/tests/hardhat/Prime/PrimeLiquidityProvider.ts +++ b/tests/hardhat/Prime/PrimeLiquidityProvider.ts @@ -67,8 +67,8 @@ describe("PrimeLiquidityProvider: tests", () => { await loadFixture(fixture); }); - describe("Testing all initalized values", () => { - it("Tokens intialized", async () => { + describe("Testing all initialized values", () => { + it("Tokens initialized", async () => { const tokenABlockOrSecond = await primeLiquidityProvider.lastAccruedBlockOrSecond(tokenA.address); expect(tokenABlockOrSecond).to.greaterThan(0);