@@ -14,7 +14,7 @@ import (
14
14
)
15
15
16
16
func TestNewSchemaFromReader (t * testing.T ) {
17
- t .Run ("should return error when an error occures internally" , func (t * testing.T ) {
17
+ t .Run ("should return error when an error occurs internally" , func (t * testing.T ) {
18
18
schemaBytes := []byte ("query: Query" )
19
19
schemaReader := bytes .NewBuffer (schemaBytes )
20
20
schema , err := NewSchemaFromReader (schemaReader )
@@ -34,7 +34,7 @@ func TestNewSchemaFromReader(t *testing.T) {
34
34
}
35
35
36
36
func TestNewSchemaFromString (t * testing.T ) {
37
- t .Run ("should return error when an error occures internally" , func (t * testing.T ) {
37
+ t .Run ("should return error when an error occurs internally" , func (t * testing.T ) {
38
38
schemaBytes := []byte ("query: Query" )
39
39
schema , err := NewSchemaFromString (string (schemaBytes ))
40
40
@@ -82,7 +82,7 @@ func TestSchema_HasQueryType(t *testing.T) {
82
82
}
83
83
}
84
84
85
- t .Run ("schema without base defition " , func (t * testing.T ) {
85
+ t .Run ("schema without base definition " , func (t * testing.T ) {
86
86
t .Run ("should return false when there is no query type present" , run (`
87
87
schema {
88
88
mutation: Mutation
@@ -308,7 +308,7 @@ func TestValidateSchemaString(t *testing.T) {
308
308
}
309
309
}
310
310
311
- t .Run ("should successfuly validate broken schema as invalid" , run (
311
+ t .Run ("should successfully validate broken schema as invalid" , run (
312
312
`type Query {` ,
313
313
false ,
314
314
1 ,
@@ -1164,7 +1164,7 @@ type Planet implements Node {
1164
1164
terrains: [String]
1165
1165
1166
1166
"""
1167
- The percentage of the planet surface that is naturally occuring water or bodies
1167
+ The percentage of the planet surface that is naturally occurring water or bodies
1168
1168
of water.
1169
1169
"""
1170
1170
surfaceWater: Float
0 commit comments