Enable NRT in `TestSceneDifficultyIcon`

This commit is contained in:
Bartłomiej Dach 2024-02-22 11:45:57 +01:00
parent d66a2c452f
commit 47db317df8
No known key found for this signature in database
1 changed files with 2 additions and 4 deletions

View File

@ -1,8 +1,6 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
@ -16,7 +14,7 @@ namespace osu.Game.Tests.Visual.Beatmaps
{
public partial class TestSceneDifficultyIcon : OsuTestScene
{
private FillFlowContainer fill;
private FillFlowContainer fill = null!;
protected override void LoadComplete()
{
@ -35,7 +33,7 @@ protected override void LoadComplete()
[Test]
public void CreateDifficultyIcon()
{
DifficultyIcon difficultyIcon = null;
DifficultyIcon difficultyIcon = null!;
AddRepeatStep("create difficulty icon", () =>
{