Skip to content

Commit 0a477fe

Browse files
committed
Run spell checker on all JS files
Replicates graphql/graphql-js@84d05fc Most typos had already been fixed here.
1 parent 8d708f4 commit 0a477fe

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

graphql/language/block_string_value.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
def block_string_value(raw_string: str) -> str:
55
"""Produce the value of a block string from its parsed raw value.
66
7-
Similar to Coffeescript's block string, Python's docstring trim or
7+
Similar to CoffeeScript's block string, Python's docstring trim or
88
Ruby's strip_heredoc.
99
1010
This implements the GraphQL spec's BlockStringValue() static algorithm.

tests/execution/test_executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ class Data:
589589
assert query_result == ({'a': 'b'}, None)
590590

591591
def does_not_include_illegal_fields_in_output():
592-
doc = 'mutation M { thisIsIllegalDontIncludeMe }'
592+
doc = 'mutation M { thisIsIllegalDoNotIncludeMe }'
593593
ast = parse(doc)
594594
schema = GraphQLSchema(
595595
GraphQLObjectType('Q', {'a': GraphQLField(GraphQLString)}),

tests/validation/test_known_argument_names.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def directive_args_are_known():
8888
}
8989
""")
9090

91-
def undirective_args_are_invalid():
91+
def field_args_are_invalid():
9292
expect_fails_rule(KnownArgumentNamesRule, """
9393
{
9494
dog @skip(unless: true)

0 commit comments

Comments
 (0)