aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.Common.Tests/Json/JsonStringConverterTests.cs
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2021-06-07 09:46:46 +0200
committerGitHub <noreply@github.com>2021-06-07 09:46:46 +0200
commit1c6bf16d155b13ecd3ed78c14b1a682b3a9d5d3c (patch)
tree166283bd9dc5ee008f55b8fe5c2e184d89a916c9 /tests/Jellyfin.Common.Tests/Json/JsonStringConverterTests.cs
parentb8f5a14384e1c746e80d39517a87a4e65c5c1126 (diff)
parentce434ebc7a564ce0fc07f9a2b5f16c0ca3da404f (diff)
Merge pull request #6150 from Bond-009/proptest
Diffstat (limited to 'tests/Jellyfin.Common.Tests/Json/JsonStringConverterTests.cs')
-rw-r--r--tests/Jellyfin.Common.Tests/Json/JsonStringConverterTests.cs15
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/Jellyfin.Common.Tests/Json/JsonStringConverterTests.cs b/tests/Jellyfin.Common.Tests/Json/JsonStringConverterTests.cs
index fd77694b3..2b23c6705 100644
--- a/tests/Jellyfin.Common.Tests/Json/JsonStringConverterTests.cs
+++ b/tests/Jellyfin.Common.Tests/Json/JsonStringConverterTests.cs
@@ -6,14 +6,13 @@ namespace Jellyfin.Common.Tests.Json
{
public class JsonStringConverterTests
{
- private readonly JsonSerializerOptions _jsonSerializerOptions
- = new ()
+ private readonly JsonSerializerOptions _jsonSerializerOptions = new ()
+ {
+ Converters =
{
- Converters =
- {
- new JsonStringConverter()
- }
- };
+ new JsonStringConverter()
+ }
+ };
[Theory]
[InlineData("\"test\"", "test")]
@@ -36,4 +35,4 @@ namespace Jellyfin.Common.Tests.Json
Assert.Equal(deserialized, output);
}
}
-} \ No newline at end of file
+}