Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser Performance #806

Merged
merged 17 commits into from
Jun 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ private void ReadToken()
// assert
Assert.Equal(
"helloWorld_123\r\n\t\tfoo\r\n\tbar",
reader.GetString(reader.Value));
Utf8GraphQLReader.GetString(reader.Value));

Assert.Equal(
"helloWorld_123\n\tfoo\nbar",
Expand Down Expand Up @@ -181,7 +181,7 @@ private void UnescapeString()

// assert
Assert.Equal(3, span.Length);
Assert.Equal("abc", reader.GetString(span));
Assert.Equal("abc", Utf8GraphQLReader.GetString(span));
}

[Fact]
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Language.Tests/Utf8/Utf8HelperTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void Unescape_StandardEscapeChars_OutputIsUnescaped(
[InlineData("\\\"\"\"", "\"\"\"")]
[Theory]
public void Unescape_BlockStringEscapeChars_OutputIsUnescaped(
string escaped, string unescaped)
string escaped, string unescaped)
{
// arrange
byte[] inputData = Encoding.UTF8.GetBytes("hello_123_" + escaped);
Expand Down
Loading