Skip to content

Commit 5053197

Browse files
authored
Merge pull request #41 from sambostock/fix-typo
Fix typos
2 parents 4e57d85 + 837761f commit 5053197

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

lib/graphql/schema_comparator/changes/criticality.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Criticality
1414
# these changes.
1515
DANGEROUS = 2
1616

17-
# Breaking criticality are changes that immediatly impact
17+
# Breaking criticality are changes that immediately impact
1818
# clients usually causing queries not to be valid anymore.
1919
BREAKING = 3
2020

test/lib/graphql/schema_comparator/diff/argument_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def test_diff_input_field_type_nullability_change_on_lists_of_the_same_underlyin
100100
assert_equal "Type for argument `arg` on field `Query.a` changed from `[String]!` to `[String]`", change.message
101101
end
102102

103-
def test_diff_input_field_type_change_within_lists_of_the_same_underyling_types
103+
def test_diff_input_field_type_change_within_lists_of_the_same_underlying_types
104104
old_input_field = GraphQL::Argument.define do
105105
name "arg"
106106
type !types[!types.String]

test/lib/graphql/schema_comparator/diff/field_test.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def test_field_type_change_nullability_change_on_lists_of_same_type
9797
assert_equal "Field `Foo.bar` changed type from `[String]!` to `[String]`", change.message
9898
end
9999

100-
def test_field_type_change_withing_lists_of_the_same_underlying_types
100+
def test_field_type_change_within_lists_of_the_same_underlying_types
101101
old_field = GraphQL::Field.define do
102102
name "bar"
103103
type !types[!types.String]
@@ -115,7 +115,7 @@ def test_field_type_change_withing_lists_of_the_same_underlying_types
115115
assert_equal "Field `Foo.bar` changed type from `[String!]!` to `[String]!`", change.message
116116
end
117117

118-
def test_field_type_change_withing_and_on_list_of_same_type
118+
def test_field_type_change_within_and_on_list_of_same_type
119119
old_field = GraphQL::Field.define do
120120
name "bar"
121121
type !types[!types.String]
@@ -133,7 +133,7 @@ def test_field_type_change_withing_and_on_list_of_same_type
133133
assert_equal "Field `Foo.bar` changed type from `[String!]!` to `[String]`", change.message
134134
end
135135

136-
def test_field_type_change_withing_and_on_list_of_same_type_of_different_types
136+
def test_field_type_change_within_and_on_list_of_same_type_of_different_types
137137
old_field = GraphQL::Field.define do
138138
name "bar"
139139
type !types[!types.String]

test/lib/graphql/schema_comparator/diff/input_field_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def test_diff_input_field_type_nullability_change_on_lists_of_the_same_underlyin
9797
assert_equal "Input field `Input.arg` changed type from `[String]!` to `[String]`", change.message
9898
end
9999

100-
def test_diff_input_field_type_change_within_lists_of_the_same_underyling_types
100+
def test_diff_input_field_type_change_within_lists_of_the_same_underlying_types
101101
old_input_field = GraphQL::Argument.define do
102102
name "arg"
103103
type !types[!types.String]

0 commit comments

Comments
 (0)