1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 15:22:55 +08:00

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

View File

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