diff options
| author | Bond-009 <bond.009@outlook.com> | 2022-12-14 22:03:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-14 22:03:03 +0100 |
| commit | 3462676a8f288358d65484ce2022b66ef9da5ee9 (patch) | |
| tree | 258c6feced135b172d5eab8a3ec6e4eb55ba4a9b /tests/Jellyfin.Server.Implementations.Tests/HttpServer/WebSocketConnectionTests.cs | |
| parent | 39289ae8145a06cca89a24ca867690af131b19fc (diff) | |
Fix debug builds (#8909)
Diffstat (limited to 'tests/Jellyfin.Server.Implementations.Tests/HttpServer/WebSocketConnectionTests.cs')
| -rw-r--r-- | tests/Jellyfin.Server.Implementations.Tests/HttpServer/WebSocketConnectionTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Jellyfin.Server.Implementations.Tests/HttpServer/WebSocketConnectionTests.cs b/tests/Jellyfin.Server.Implementations.Tests/HttpServer/WebSocketConnectionTests.cs index ef8f7cd90..f01611819 100644 --- a/tests/Jellyfin.Server.Implementations.Tests/HttpServer/WebSocketConnectionTests.cs +++ b/tests/Jellyfin.Server.Implementations.Tests/HttpServer/WebSocketConnectionTests.cs @@ -48,7 +48,7 @@ namespace Jellyfin.Server.Implementations.Tests.HttpServer Assert.Throws<JsonException>(() => con.DeserializeWebSocketMessage(new ReadOnlySequence<byte>(bytes), out var bytesConsumed)); } - internal class BufferSegment : ReadOnlySequenceSegment<byte> + internal sealed class BufferSegment : ReadOnlySequenceSegment<byte> { public BufferSegment(Memory<byte> memory) { |
