Skip to content

Commit 75f7bbd

Browse files
authored
fix: typos are refactored (#97)
1 parent b1b1ebd commit 75f7bbd

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

annotations/test-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const isCompatible = (compatibility, versionUnderTest) => {
3030
}
3131
break;
3232
default:
33-
throw Error(`Unsupported contraint operator: ${operator}`);
33+
throw Error(`Unsupported constraint operator: ${operator}`);
3434
}
3535
}
3636

bundle/test-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const isCompatible = (compatibility, versionUnderTest) => {
5454
}
5555
break;
5656
default:
57-
throw Error(`Unsupported contraint operator: ${operator}`);
57+
throw Error(`Unsupported constraint operator: ${operator}`);
5858
}
5959
}
6060

draft-2019-09/json-schema-test-suite.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type Test = {
1919
valid: boolean;
2020
};
2121

22-
// This package is indended to be a compatibility mode from v1 JSON Schema.
22+
// This package is intended to be a compatibility mode from v1 JSON Schema.
2323
// Some edge cases might not work exactly as specified, but it should work for
2424
// any real-life schema.
2525
const skip = new Set<string>([

draft-2020-12/json-schema-test-suite.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type Test = {
1919
valid: boolean;
2020
};
2121

22-
// This package is indended to be a compatibility mode from v1 JSON Schema.
22+
// This package is intended to be a compatibility mode from v1 JSON Schema.
2323
// Some edge cases might not work exactly as specified, but it should work for
2424
// any real-life schema.
2525
const skip = new Set<string>([

openapi-3-0/json-schema-test-suite.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Test = {
1818
valid: boolean;
1919
};
2020

21-
// This package is indended to be a compatibility mode from v1 JSON Schema.
21+
// This package is intended to be a compatibility mode from v1 JSON Schema.
2222
// Some edge cases might not work exactly as specified, but it should work for
2323
// any real-life schema.
2424
const skip = new Set<string>([

openapi-3-1/json-schema-test-suite.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type Test = {
1919
valid: boolean;
2020
};
2121

22-
// This package is indended to be a compatibility mode from v1 JSON Schema.
22+
// This package is intended to be a compatibility mode from v1 JSON Schema.
2323
// Some edge cases might not work exactly as specified, but it should work for
2424
// any real-life schema.
2525
const skip = new Set<string>([

openapi-3-2/json-schema-test-suite.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type Test = {
1919
valid: boolean;
2020
};
2121

22-
// This package is indended to be a compatibility mode from v1 JSON Schema.
22+
// This package is intended to be a compatibility mode from v1 JSON Schema.
2323
// Some edge cases might not work exactly as specified, but it should work for
2424
// any real-life schema.
2525
const skip = new Set<string>([

0 commit comments

Comments
 (0)