Skip to content

Commit f284e88

Browse files
committed
Fix test description
Replicates graphql/graphql-js@5384d21
1 parent 4882524 commit f284e88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/type/test_predicate.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,12 @@ def returns_true_for_a_list_wrapped_type():
178178
assert is_list_type(GraphQLList(ObjectType)) is True
179179
assert_list_type(GraphQLList(ObjectType))
180180

181-
def returns_false_for_an_unwrapped_type():
181+
def returns_false_for_a_unwrapped_type():
182182
assert is_list_type(ObjectType) is False
183183
with raises(TypeError):
184184
assert_list_type(ObjectType)
185185

186-
def returns_true_for_a_non_list_wrapped_type():
186+
def returns_false_for_a_non_list_wrapped_type():
187187
assert is_list_type(GraphQLNonNull(GraphQLList(ObjectType))) is False
188188
with raises(TypeError):
189189
assert_list_type(GraphQLNonNull(GraphQLList(ObjectType)))
@@ -198,7 +198,7 @@ def returns_false_for_an_unwrapped_type():
198198
with raises(TypeError):
199199
assert_non_null_type(ObjectType)
200200

201-
def returns_true_for_a_not_non_null_wrapped_type():
201+
def returns_false_for_a_not_non_null_wrapped_type():
202202
assert is_non_null_type(GraphQLList(GraphQLNonNull(ObjectType))) is False
203203
with raises(TypeError):
204204
assert_non_null_type(GraphQLList(GraphQLNonNull(ObjectType)))

0 commit comments

Comments
 (0)