Skip to content

Commit 4629335

Browse files
authored
Update ServiceQueryResolverTest.kt
1 parent 8638ce3 commit 4629335

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphql-kotlin-federation/src/test/kotlin/com/expedia/graphql/federation/execution/ServiceQueryResolverTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type Review {
3232
type User @extends @key(fields : "userId") {
3333
name: String! @external
3434
userId: Int! @external
35-
}""".trim()
35+
}"""
3636

3737
class ServiceQueryResolverTest {
3838

@@ -60,7 +60,7 @@ class ServiceQueryResolverTest {
6060
assertNotNull(result["data"] as? Map<*, *>) { data ->
6161
assertNotNull(data["_service"] as? Map<*, *>) { queryResult ->
6262
val sdl = queryResult["sdl"] as? String
63-
assertEquals(FEDERATED_SERVICE_SDL, sdl)
63+
assertEquals(FEDERATED_SERVICE_SDL.trim(), sdl)
6464
}
6565
}
6666
}

0 commit comments

Comments
 (0)