Skip to content

Commit

Permalink
chore: Fix spelling which fails test
Browse files Browse the repository at this point in the history
  • Loading branch information
bombsimon committed Dec 25, 2024
1 parent 11bfe35 commit d9c7cc4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ariadne_codegen/contrib/client_forward_refs.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def _update_imports(self, module: ast.Module) -> None:
return_types_not_used_as_input = set(self.input_and_return_types)

# The ones we import in the method don't need to be imported at all -
# unless that's the type we return. This behaviour can differ if you use
# unless that's the type we return. This behavior can differ if you use
# a plugin such as `ShorterResultsPlugin` that will import a type that
# is different from the type returned.
return_types_not_used_as_input |= (
Expand Down
4 changes: 2 additions & 2 deletions tests/main/graphql_schemas/all_types/expected_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,14 +214,14 @@
),
GraphQLDirective(
name="specifiedBy",
description="Exposes a URL that specifies the behaviour of this scalar.",
description="Exposes a URL that specifies the behavior of this scalar.",
is_repeatable=False,
locations=(DirectiveLocation.SCALAR,),
args={
"url": GraphQLArgument(
GraphQLNonNull(GraphQLString),
default_value=Undefined,
description="The URL that specifies the behaviour of this scalar.",
description="The URL that specifies the behavior of this scalar.",
deprecation_reason=None,
)
},
Expand Down
4 changes: 2 additions & 2 deletions tests/main/graphql_schemas/example/expected_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,14 +355,14 @@
),
GraphQLDirective(
name="specifiedBy",
description="Exposes a URL that specifies the behaviour of this scalar.",
description="Exposes a URL that specifies the behavior of this scalar.",
is_repeatable=False,
locations=(DirectiveLocation.SCALAR,),
args={
"url": GraphQLArgument(
GraphQLNonNull(GraphQLString),
default_value=Undefined,
description="The URL that specifies the behaviour of this scalar.",
description="The URL that specifies the behavior of this scalar.",
deprecation_reason=None,
)
},
Expand Down

0 comments on commit d9c7cc4

Please sign in to comment.