aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests/IntegratedTests/TimelineTest.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-08-21 23:47:10 +0800
committerGitHub <noreply@github.com>2020-08-21 23:47:10 +0800
commitc28848a35b0f31a59f9d02641571495822ad0db8 (patch)
tree520b56d834185ba5f9f556558a181bb9f4059b29 /Timeline.Tests/IntegratedTests/TimelineTest.cs
parent30e96fc5a59a8324ed861e7f7e856c44b4d329ff (diff)
parent3aa8e1cda4222fc3a9828888ba8fb51d2ba1d6c8 (diff)
downloadtimeline-c28848a35b0f31a59f9d02641571495822ad0db8.tar.gz
timeline-c28848a35b0f31a59f9d02641571495822ad0db8.tar.bz2
timeline-c28848a35b0f31a59f9d02641571495822ad0db8.zip
Merge pull request #149 from crupest/swagger
Swagger/OpenAPI
Diffstat (limited to 'Timeline.Tests/IntegratedTests/TimelineTest.cs')
-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('&');
}
}