Skip to content

Commit

Permalink
🎨 Remove trailing space
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamparter committed Sep 8, 2024
1 parent e445b1c commit 253a5b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Octokit.GraphQL.Core.UnitTests/ExpressionRewiterTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,16 +250,16 @@ public void Can_Use_Conditional_To_Compare_To_Null()
// data["data"]["repository"],
// x => x["name"].Type != JTokenType.Null ? x["name"].ToObject<string>() : null);

var readableString =
var readableString =
"data => Rewritten.Value.Select(data[\"data\"][\"repository\"],x => (x[\"name\"].Type != JTokenType.Null) ? x[\"name\"].ToObject<string>() : null)";

// Expression put through ReadableExpression outputs the following, so I'm using a hard coded string instead
// data => Rewritten.Value.Select(data["data"]["repository"], x => (((int)x["name"].Type) != 10) ? x["name"].ToObject<string>() : null)

ExpressionRewriterAssertions.AssertExpressionQueryEqual(readableString, query);
}


[Fact]
public void Union_IssueOrPullRequest()
{
Expand Down

0 comments on commit 253a5b0

Please sign in to comment.