Skip to content

Commit 5384d21

Browse files
Fix test description (#1581)
Reported by @zonr here: 2adbe22#r31145022 2adbe22#r31145021
1 parent 958eb96 commit 5384d21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/type/__tests__/predicate-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ describe('Type predicates', () => {
217217
expect(() => assertListType(ObjectType)).to.throw();
218218
});
219219

220-
it('returns true for a non-list wrapped type', () => {
220+
it('returns false for a non-list wrapped type', () => {
221221
expect(isListType(GraphQLNonNull(GraphQLList(ObjectType)))).to.equal(
222222
false,
223223
);
@@ -240,7 +240,7 @@ describe('Type predicates', () => {
240240
expect(() => assertNonNullType(ObjectType)).to.throw();
241241
});
242242

243-
it('returns true for a not non-null wrapped type', () => {
243+
it('returns false for a not non-null wrapped type', () => {
244244
expect(isNonNullType(GraphQLList(GraphQLNonNull(ObjectType)))).to.equal(
245245
false,
246246
);

0 commit comments

Comments
 (0)