aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests/IntegratedTests
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-08-21 23:32:53 +0800
committercrupest <crupest@outlook.com>2020-08-21 23:32:53 +0800
commite429b7e0c0425b507b26f95ff3176f9a01f73423 (patch)
treefdd85906c46832a3a3a32cd06b24e76167f383d4 /Timeline.Tests/IntegratedTests
parented324cdcec6d70cc9f93b57b2e3a5a35d3366048 (diff)
downloadtimeline-e429b7e0c0425b507b26f95ff3176f9a01f73423.tar.gz
timeline-e429b7e0c0425b507b26f95ff3176f9a01f73423.tar.bz2
timeline-e429b7e0c0425b507b26f95ff3176f9a01f73423.zip
...
Diffstat (limited to 'Timeline.Tests/IntegratedTests')
-rw-r--r--Timeline.Tests/IntegratedTests/TimelineTest.cs8
1 files changed, 4 insertions, 4 deletions
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('&');
}
}