diff options
author | crupest <crupest@outlook.com> | 2020-08-21 23:32:53 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-08-21 23:32:53 +0800 |
commit | c79352d27df2506d2ab214f61d60e503a1d7675a (patch) | |
tree | a3831200a2fca0b5a4a46287b38a02a468ab371d /Timeline.Tests/IntegratedTests/TimelineTest.cs | |
parent | be532c56158362701a4d5704e995c743ff8b9804 (diff) | |
download | timeline-c79352d27df2506d2ab214f61d60e503a1d7675a.tar.gz timeline-c79352d27df2506d2ab214f61d60e503a1d7675a.tar.bz2 timeline-c79352d27df2506d2ab214f61d60e503a1d7675a.zip |
...
Diffstat (limited to 'Timeline.Tests/IntegratedTests/TimelineTest.cs')
-rw-r--r-- | Timeline.Tests/IntegratedTests/TimelineTest.cs | 8 |
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('&');
}
}
|