Mark the property as non-nullable.

This commit is contained in:
為什麼 2022-07-11 00:09:54 +08:00 committed by andy840119
parent d9addebc93
commit ee7e7f2d3a
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ namespace osu.Game.Tests.Mods
[TestFixture]
public class ModDifficultyAdjustTest
{
private TestModDifficultyAdjust testMod;
private TestModDifficultyAdjust testMod = null!;
[SetUp]
public void Setup()

View File

@ -17,8 +17,8 @@ public class ModTimeRampTest
private const double start_time = 1000;
private const double duration = 9000;
private TrackVirtual track;
private OsuPlayfield playfield;
private TrackVirtual track = null!;
private OsuPlayfield playfield = null!;
[SetUp]
public void SetUp()