Skip to content

Commit 94657fe

Browse files
authored
Introduce raw string literals (#281)
1 parent 92fb1ce commit 94657fe

File tree

5 files changed

+180
-165
lines changed

5 files changed

+180
-165
lines changed

src/GraphQLParser.Tests/Issues/Issue82.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ namespace GraphQLParser.Tests;
22

33
public class Issue82
44
{
5-
private readonly string _query = @"query($username: String) {
6-
Person(uname: $username, firstName: ""Pete"") {
5+
private readonly string _query = """
6+
query($username: String) {
7+
Person(uname: $username, firstName: "Pete") {
78
id, email
89
}
910
}
10-
";
11+
""";
1112

1213
[Theory]
1314
[InlineData(IgnoreOptions.None)]

0 commit comments

Comments
 (0)