Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane32 committed Aug 18, 2024
1 parent 97d7207 commit 10315dd
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1064,11 +1064,11 @@ public void UTF8_MemoryStream_Runs_Synchronously()
}

[Theory]
[InlineData("{ field1 }", "{\n field1\n}")]
[InlineData("query { field1 }", "{\n field1\n}")]
[InlineData("query q1 { field1 }", "query q1 {\n field1\n}")]
[InlineData("mutation { field1 }", "mutation {\n field1\n}")]
[InlineData("mutation m1 { field1 }", "mutation m1 {\n field1\n}")]
[InlineData("{ field1 }", "{\n field1\n}\n")]
[InlineData("query { field1 }", "{\n field1\n}\n")]
[InlineData("query q1 { field1 }", "query q1 {\n field1\n}\n")]
[InlineData("mutation { field1 }", "mutation {\n field1\n}\n")]
[InlineData("mutation m1 { field1 }", "mutation m1 {\n field1\n}\n")]
public void OperationPrints(string input, string expected)
{
new SDLPrinter().Print(Parser.Parse(input)).ShouldBe(expected, StringCompareShould.IgnoreLineEndings);
Expand Down

0 comments on commit 10315dd

Please sign in to comment.