From 253a5b0283b9806238c65d1962ef0cf486f0e5c9 Mon Sep 17 00:00:00 2001 From: Lamparter Date: Sun, 8 Sep 2024 09:37:03 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Remove=20trailing=20space?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Octokit.GraphQL.Core.UnitTests/ExpressionRewiterTests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Octokit.GraphQL.Core.UnitTests/ExpressionRewiterTests.cs b/Octokit.GraphQL.Core.UnitTests/ExpressionRewiterTests.cs index 408b980d..f3cd15cd 100644 --- a/Octokit.GraphQL.Core.UnitTests/ExpressionRewiterTests.cs +++ b/Octokit.GraphQL.Core.UnitTests/ExpressionRewiterTests.cs @@ -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() : null); - var readableString = + var readableString = "data => Rewritten.Value.Select(data[\"data\"][\"repository\"],x => (x[\"name\"].Type != JTokenType.Null) ? x[\"name\"].ToObject() : 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() : null) ExpressionRewriterAssertions.AssertExpressionQueryEqual(readableString, query); } - + [Fact] public void Union_IssueOrPullRequest() {