From c79352d27df2506d2ab214f61d60e503a1d7675a Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 21 Aug 2020 23:32:53 +0800 Subject: ... --- Timeline.Tests/IntegratedTests/TimelineTest.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Timeline.Tests/IntegratedTests/TimelineTest.cs') diff --git a/Timeline.Tests/IntegratedTests/TimelineTest.cs b/Timeline.Tests/IntegratedTests/TimelineTest.cs index 16b3c7e4..3b4b1754 100644 --- a/Timeline.Tests/IntegratedTests/TimelineTest.cs +++ b/Timeline.Tests/IntegratedTests/TimelineTest.cs @@ -76,20 +76,20 @@ namespace Timeline.Tests.IntegratedTests if (subpath != null) { if (!subpath.StartsWith("/", StringComparison.OrdinalIgnoreCase)) - result.Append("/"); + result.Append('/'); result.Append(subpath); } if (query != null && query.Count != 0) { - result.Append("?"); + result.Append('?'); foreach (var (key, value, index) in query.Select((pair, index) => (pair.Key, pair.Value, index))) { result.Append(WebUtility.UrlEncode(key)); - result.Append("="); + result.Append('='); result.Append(WebUtility.UrlEncode(value)); if (index != query.Count - 1) - result.Append("&"); + result.Append('&'); } } -- cgit v1.2.3