Skip to content

Commit a2f11ea

Browse files
committed
Fix spelling
1 parent cbbe240 commit a2f11ea

17 files changed

+34
-34
lines changed

v-next/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ export class SolidityBuildSystemImplementation implements SolidityBuildSystem {
370370

371371
assertHardhatInvariant(
372372
subgraph.getRoots().size === 1,
373-
"individual subgraph doesnt have exactly 1 root file",
373+
"individual subgraph doesn't have exactly 1 root file",
374374
);
375375

376376
const rootFilePath = Array.from(subgraph.getRoots().keys())[0];

v-next/hardhat/test/internal/builtin-plugins/solidity/build-system/partial-compilation/add-a-dependant.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { assertFileCounts, getHRE, TestProjectWrapper } from "./helpers.js";
1010
describe("Partial compilation", () => {
1111
describe("add a dependant", () => {
1212
describe("non-isolated mode", function () {
13-
it("should handle build infos and artifacts appropiately", async () => {
13+
it("should handle build infos and artifacts appropriately", async () => {
1414
await using _project = await useTestProjectTemplate({
1515
name: "test",
1616
version: "1.0.0",
@@ -93,7 +93,7 @@ describe("Partial compilation", () => {
9393
});
9494

9595
describe("isolated mode", function () {
96-
it("should handle build infos and artifacts appropiately", async () => {
96+
it("should handle build infos and artifacts appropriately", async () => {
9797
await using _project = await useTestProjectTemplate({
9898
name: "test",
9999
version: "1.0.0",

v-next/hardhat/test/internal/builtin-plugins/solidity/build-system/partial-compilation/add-a-dependency.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { assertFileCounts, getHRE, TestProjectWrapper } from "./helpers.js";
1010
describe("Partial compilation", () => {
1111
describe("add a dependency", () => {
1212
describe("non-isolated mode", function () {
13-
it("should handle build infos and artifacts appropiately", async () => {
13+
it("should handle build infos and artifacts appropriately", async () => {
1414
await using _project = await useTestProjectTemplate({
1515
name: "test",
1616
version: "1.0.0",
@@ -69,7 +69,7 @@ describe("Partial compilation", () => {
6969
});
7070

7171
describe("isolated mode", function () {
72-
it("should handle build infos and artifacts appropiately", async () => {
72+
it("should handle build infos and artifacts appropriately", async () => {
7373
await using _project = await useTestProjectTemplate({
7474
name: "test",
7575
version: "1.0.0",

v-next/hardhat/test/internal/builtin-plugins/solidity/build-system/partial-compilation/add-a-file-then-modify-both.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { assertFileCounts, getHRE, TestProjectWrapper } from "./helpers.js";
1010
describe("Partial compilation", () => {
1111
describe("add a file to a project, then modify both", () => {
1212
describe("non-isolated mode", function () {
13-
it("should handle build infos and artifacs appropiately", async () => {
13+
it("should handle build infos and artifacts appropriately", async () => {
1414
await using _project = await useTestProjectTemplate({
1515
name: "test",
1616
version: "1.0.0",
@@ -146,7 +146,7 @@ describe("Partial compilation", () => {
146146
});
147147

148148
describe("isolated mode", function () {
149-
it("should handle build infos and artifacs appropiately", async () => {
149+
it("should handle build infos and artifacts appropriately", async () => {
150150
await using _project = await useTestProjectTemplate({
151151
name: "test",
152152
version: "1.0.0",

v-next/hardhat/test/internal/builtin-plugins/solidity/build-system/partial-compilation/compile-subset-two-indept-files.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { assertFileCounts, getHRE, TestProjectWrapper } from "./helpers.js";
1111
describe("Partial compilation", () => {
1212
describe("Compiling a subset in a project with two independent files", () => {
1313
describe("Non-isolated", () => {
14-
it("generates build infos, artifacts and typefiles appropiately", async () => {
14+
it("generates build infos, artifacts and typefiles appropriately", async () => {
1515
await using _project = await useTestProjectTemplate({
1616
name: "test",
1717
version: "1.0.0",
@@ -152,7 +152,7 @@ describe("Partial compilation", () => {
152152
});
153153

154154
describe("Isolated", () => {
155-
it("generates build infos, artifacts and typefiles appropiately", async () => {
155+
it("generates build infos, artifacts and typefiles appropriately", async () => {
156156
await using _project = await useTestProjectTemplate({
157157
name: "test",
158158
version: "1.0.0",
@@ -221,7 +221,7 @@ describe("Partial compilation", () => {
221221
"Bar.sol",
222222
);
223223

224-
// Foo build info shouldnt change
224+
// Foo build info shouldn't change
225225
assert.deepEqual(buildInfoFoo, newBuildInfoFoo);
226226

227227
// Bar build info changes

v-next/hardhat/test/internal/builtin-plugins/solidity/build-system/partial-compilation/manually-deleting-artifact.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ describe("Partial compilation", () => {
116116
// Delete the build info file
117117
await rm(firstBuildInfo.path);
118118

119-
// Get the snapshot again, the build info shouldnt be there anymore
119+
// Get the snapshot again, the build info shouldn't be there anymore
120120
const secondSnapshot = await project.getSnapshot();
121121

122122
assert.equal(secondSnapshot.buildInfos.length, 0);
@@ -177,7 +177,7 @@ describe("Partial compilation", () => {
177177
// Delete the typefile
178178
await rm(firstSnapshot.typeFiles["A.sol"].path);
179179

180-
// Get the snapshot again, the typefile shouldnt be there anymore
180+
// Get the snapshot again, the typefile shouldn't be there anymore
181181
const secondSnapshot = await project.getSnapshot();
182182

183183
assert.equal(secondSnapshot.typeFiles["A.sol"], undefined);
@@ -215,7 +215,7 @@ describe("Partial compilation", () => {
215215
// Delete the build info output
216216
await rm(firstSnapshot.buildInfoOutputs[0].path);
217217

218-
// Get the snapshot again, the build info output shouldnt be there anymore
218+
// Get the snapshot again, the build info output shouldn't be there anymore
219219
const secondSnapshot = await project.getSnapshot();
220220

221221
assert.equal(secondSnapshot.buildInfoOutputs.length, 0);

v-next/hardhat/test/internal/builtin-plugins/solidity/build-system/partial-compilation/modification-three-files-A-B-C-delete-bottom.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { assertFileCounts, getHRE, TestProjectWrapper } from "./helpers.js";
1010
describe("Partial compilation", () => {
1111
describe("delete bottom dependant on A->B->C schema", () => {
1212
describe("non-isolated mode", function () {
13-
it("should handle build infos and artifacts appropiately", async () => {
13+
it("should handle build infos and artifacts appropriately", async () => {
1414
await using _project = await useTestProjectTemplate({
1515
name: "test",
1616
version: "1.0.0",
@@ -78,7 +78,7 @@ describe("Partial compilation", () => {
7878
});
7979

8080
describe("isolated mode", function () {
81-
it("should handle build infos and artifacts appropiately", async () => {
81+
it("should handle build infos and artifacts appropriately", async () => {
8282
await using _project = await useTestProjectTemplate({
8383
name: "test",
8484
version: "1.0.0",

v-next/hardhat/test/internal/builtin-plugins/solidity/build-system/partial-compilation/modification-three-files-A-B-C-delete-deepest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { assertFileCounts, getHRE, TestProjectWrapper } from "./helpers.js";
1010
describe("Partial compilation", () => {
1111
describe("delete deepest dependency on A->B->C schema", () => {
1212
describe("non-isolated mode", function () {
13-
it("should handle build infos and artifacts appropiately", async () => {
13+
it("should handle build infos and artifacts appropriately", async () => {
1414
await using _project = await useTestProjectTemplate({
1515
name: "test",
1616
version: "1.0.0",
@@ -84,7 +84,7 @@ describe("Partial compilation", () => {
8484
});
8585
});
8686
describe("isolated mode", function () {
87-
it("should handle build infos and artifacts appropiately", async () => {
87+
it("should handle build infos and artifacts appropriately", async () => {
8888
await using _project = await useTestProjectTemplate({
8989
name: "test",
9090
version: "1.0.0",

v-next/hardhat/test/internal/builtin-plugins/solidity/build-system/partial-compilation/modification-three-files-A-B-C-delete-dependant.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { assertFileCounts, getHRE, TestProjectWrapper } from "./helpers.js";
1010
describe("Partial compilation", () => {
1111
describe("delete a dependant on A->B<-C schema", () => {
1212
describe("non-isolated mode", function () {
13-
it("should handle build infos and artifacts appropiately", async () => {
13+
it("should handle build infos and artifacts appropriately", async () => {
1414
await using _project = await useTestProjectTemplate({
1515
name: "test",
1616
version: "1.0.0",
@@ -73,7 +73,7 @@ describe("Partial compilation", () => {
7373
});
7474

7575
describe("isolated mode", function () {
76-
it("should handle build infos and artifacts appropiately", async () => {
76+
it("should handle build infos and artifacts appropriately", async () => {
7777
await using _project = await useTestProjectTemplate({
7878
name: "test",
7979
version: "1.0.0",

v-next/hardhat/test/internal/builtin-plugins/solidity/build-system/partial-compilation/modification-three-files-A-B-C-delete-dependency.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { assertFileCounts, getHRE, TestProjectWrapper } from "./helpers.js";
1010
describe("Partial compilation", () => {
1111
describe("delete dependency on A->B<-C schema", () => {
1212
describe("non-isolated mode", function () {
13-
it("should handle build infos and artifacts appropiately", async () => {
13+
it("should handle build infos and artifacts appropriately", async () => {
1414
await using _project = await useTestProjectTemplate({
1515
name: "test",
1616
version: "1.0.0",
@@ -85,7 +85,7 @@ describe("Partial compilation", () => {
8585
});
8686

8787
describe("isolated mode", function () {
88-
it("should handle build infos and artifacts appropiately", async () => {
88+
it("should handle build infos and artifacts appropriately", async () => {
8989
await using _project = await useTestProjectTemplate({
9090
name: "test",
9191
version: "1.0.0",

0 commit comments

Comments
 (0)