aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.Server.Implementations.Tests/HttpServer
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-09-03 16:18:36 -0600
committercrobibero <cody@robibe.ro>2020-09-03 16:18:36 -0600
commit21a5692626fa7389b4b37a91050496b2fe7a0260 (patch)
tree910ca74c80542e574b91a2985aa248578e0abfe0 /tests/Jellyfin.Server.Implementations.Tests/HttpServer
parent1feee6f95e00cf579ab16c7ca004947534545d9b (diff)
parent1cbe4896e2ae0596cceb80f5b11e33dd2926b1f3 (diff)
Merge remote-tracking branch 'upstream/master' into api-doc-base-url
Diffstat (limited to 'tests/Jellyfin.Server.Implementations.Tests/HttpServer')
-rw-r--r--tests/Jellyfin.Server.Implementations.Tests/HttpServer/ResponseFilterTests.cs18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/Jellyfin.Server.Implementations.Tests/HttpServer/ResponseFilterTests.cs b/tests/Jellyfin.Server.Implementations.Tests/HttpServer/ResponseFilterTests.cs
deleted file mode 100644
index 39bd94b59..000000000
--- a/tests/Jellyfin.Server.Implementations.Tests/HttpServer/ResponseFilterTests.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using Emby.Server.Implementations.HttpServer;
-using Xunit;
-
-namespace Jellyfin.Server.Implementations.Tests.HttpServer
-{
- public class ResponseFilterTests
- {
- [Theory]
- [InlineData(null, null)]
- [InlineData("", "")]
- [InlineData("This is a clean string.", "This is a clean string.")]
- [InlineData("This isn't \n\ra clean string.", "This isn't a clean string.")]
- public void RemoveControlCharacters_ValidArgs_Correct(string? input, string? result)
- {
- Assert.Equal(result, ResponseFilter.RemoveControlCharacters(input));
- }
- }
-}