mirror of https://github.com/ppy/osu
Enable NRT in `TestSceneDifficultyIcon`
This commit is contained in:
parent
d66a2c452f
commit
47db317df8
|
@ -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", () =>
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue