Skip to content

Commit

Permalink
chore: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
giautm committed Mar 25, 2022
1 parent f87351d commit 619213e
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 48 deletions.
4 changes: 1 addition & 3 deletions formatter/testdata/baseline/FormatSchema/description.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ Cat is best kawaii animal in the world.
meow!
"""
type Cat {
"""
Shiny brillian name.
"""
"""Shiny brillian name."""
name: String
}
24 changes: 6 additions & 18 deletions formatter/testdata/baseline/FormatSchema/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -6,45 +6,33 @@ schema {
type TopMutation {
noop: Boolean
noop2(
"""
noop2 foo bar
"""
"""noop2 foo bar"""
arg: String
): Boolean
noop3(
"""
noop3 foo bar
"""
"""noop3 foo bar"""
arg: String
): Boolean
}
type TopQuery {
noop: Boolean
noop2(
"""
noop2 foo bar
"""
"""noop2 foo bar"""
arg: String
): Boolean
noop3(
"""
noop3 foo bar
"""
"""noop3 foo bar"""
arg: String
): Boolean
}
type TopSubscription {
noop: Boolean
noop2(
"""
noop2 foo bar
"""
"""noop2 foo bar"""
arg: String
): Boolean
noop3(
"""
noop3 foo bar
"""
"""noop3 foo bar"""
arg: String
): Boolean
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ Cat is best kawaii animal in the world.
meow!
"""
type Cat {
"""
Shiny brillian name.
"""
"""Shiny brillian name."""
name: String
}
24 changes: 6 additions & 18 deletions formatter/testdata/baseline/FormatSchemaDocument/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -6,45 +6,33 @@ schema {
type TopMutation {
noop: Boolean
noop2(
"""
noop2 foo bar
"""
"""noop2 foo bar"""
arg: String
): Boolean
noop3(
"""
noop3 foo bar
"""
"""noop3 foo bar"""
arg: String
): Boolean
}
type TopQuery {
noop: Boolean
noop2(
"""
noop2 foo bar
"""
"""noop2 foo bar"""
arg: String
): Boolean
noop3(
"""
noop3 foo bar
"""
"""noop3 foo bar"""
arg: String
): Boolean
}
type TopSubscription {
noop: Boolean
noop2(
"""
noop2 foo bar
"""
"""noop2 foo bar"""
arg: String
): Boolean
noop3(
"""
noop3 foo bar
"""
"""noop3 foo bar"""
arg: String
): Boolean
}
4 changes: 1 addition & 3 deletions formatter/testdata/source/schema/description.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ Cat is best kawaii animal in the world.
meow!
"""
type Cat {
"""
Shiny brillian name.
"""
"""Shiny brillian name."""
name: String
}
4 changes: 1 addition & 3 deletions formatter/testdata/source/schema/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ type TopSubscription {
noop: Boolean

noop2(
"""
noop2 foo bar
"""
"""noop2 foo bar"""
arg: String
): Boolean

Expand Down

0 comments on commit 619213e

Please sign in to comment.