fix: Fixes tests to use C# 11 syntax (#1462)
This commit is contained in:
parent
2c8d54549c
commit
35b7c35167
5 changed files with 37 additions and 13 deletions
|
|
@ -7,10 +7,16 @@ namespace Server.Tests;
|
|||
|
||||
public sealed class PooledRefQueueTests : IDisposable
|
||||
{
|
||||
private class MockedRandomSource(int queueCount, int mockedValue) : IRandomSource
|
||||
private class MockedRandomSource : IRandomSource
|
||||
{
|
||||
private int _queueCount = queueCount;
|
||||
private int _mockedValue = mockedValue;
|
||||
private int _queueCount;
|
||||
private int _mockedValue;
|
||||
|
||||
public MockedRandomSource(int queueCount, int mockedValue)
|
||||
{
|
||||
_queueCount = queueCount;
|
||||
_mockedValue = mockedValue;
|
||||
}
|
||||
|
||||
public int Next() => throw new NotImplementedException();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue