Skip to content

Commit 735b43d

Browse files
authored
Avoid an before consonant (#3823)
1 parent 505d096 commit 735b43d

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/execution/__tests__/lists-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('Execute: Accepts any iterable as list value', () => {
3838
});
3939
});
4040

41-
it('Accepts an Generator function as a List value', () => {
41+
it('Accepts a Generator function as a List value', () => {
4242
function* listField() {
4343
yield 'one';
4444
yield 2;

src/language/__tests__/printLocation-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ describe('printSourceLocation', () => {
6161
`);
6262
});
6363

64-
it('prints an line numbers with correct padding', () => {
64+
it('prints line numbers with correct padding', () => {
6565
const result = printSourceLocation(
6666
new Source('*\n', 'Test', { line: 9, column: 1 }),
6767
{ line: 1, column: 1 },

src/type/__tests__/definition-test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ describe('Type System: List', () => {
616616
return expect(() => new GraphQLList(type));
617617
}
618618

619-
it('accepts an type as item type of list', () => {
619+
it('accepts a type as item type of list', () => {
620620
expectList(ScalarType).to.not.throw();
621621
expectList(ObjectType).to.not.throw();
622622
expectList(UnionType).to.not.throw();
@@ -633,7 +633,7 @@ describe('Type System: Non-Null', () => {
633633
return expect(() => new GraphQLNonNull(type));
634634
}
635635

636-
it('accepts an type as nullable type of non-null', () => {
636+
it('accepts a type as nullable type of non-null', () => {
637637
expectNonNull(ScalarType).to.not.throw();
638638
expectNonNull(ObjectType).to.not.throw();
639639
expectNonNull(UnionType).to.not.throw();

src/utilities/__tests__/buildClientSchema-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ describe('Type System: build schema from introspection', () => {
306306
307307
"""A field with a two args"""
308308
two(
309-
"""This is an list of int arg"""
309+
"""This is a list of int arg"""
310310
listArg: [Int]
311311
312312
"""This is a required arg"""

src/utilities/__tests__/printSchema-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ describe('Type System Printer', () => {
613613
`);
614614
});
615615

616-
it('Prints an description with only whitespace', () => {
616+
it('Prints a description with only whitespace', () => {
617617
const schema = buildSingleFieldSchema({
618618
type: GraphQLString,
619619
description: ' ',

0 commit comments

Comments
 (0)