Fix Rider analysis complaints

This commit is contained in:
Pieter-Jan Briers
2022-09-10 10:57:30 +02:00
parent 55da2dc5e5
commit bee4e499a8

View File

@@ -49,7 +49,7 @@ namespace Robust.UnitTesting.Client.GameStates
Assert.That(result, Is.True);
Assert.That(curState, Is.Not.Null);
Assert.That(curState.ToSequence.Value, Is.EqualTo(1));
Assert.That(curState!.ToSequence.Value, Is.EqualTo(1));
Assert.That(nextState, Is.Null);
}
@@ -75,7 +75,7 @@ namespace Robust.UnitTesting.Client.GameStates
processor.TryGetServerState(out var state, out _);
Assert.NotNull(state);
Assert.That(state.ToSequence.Value, Is.EqualTo(1));
Assert.That(state!.ToSequence.Value, Is.EqualTo(1));
}
[Test]