Skip to content

Commit c3c7fe8

Browse files
author
Patrik Brännström
committed
Reformat and use stripMargin() instead of stripIndent().
1 parent bfc822c commit c3c7fe8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/groovy/graphql/kickstart/tools/SchemaParserSpec.groovy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,10 @@ class SchemaParserSpec extends Specification {
266266
when:
267267
GraphQLSchema schema = SchemaParser.newParser()
268268
.schemaString('''\
269-
type Query {
270-
id: ID!
271-
}
272-
'''.stripIndent())
269+
|type Query {
270+
| id: ID!
271+
|}
272+
'''.stripMargin())
273273
.resolvers(new QueryWithIdResolver())
274274
.build()
275275
.makeExecutableSchema()

0 commit comments

Comments
 (0)