diff --git a/GFramework.Godot.Tests/GlobalUsings.cs b/GFramework.Godot.Tests/GlobalUsings.cs index 70989071..622488b8 100644 --- a/GFramework.Godot.Tests/GlobalUsings.cs +++ b/GFramework.Godot.Tests/GlobalUsings.cs @@ -22,3 +22,4 @@ global using System.Globalization; global using System.IO; global using System.Text; global using System.Text.Json; +global using GFramework.Godot.Text; diff --git a/GFramework.Godot.Tests/Text/RichTextEffectsControllerTests.cs b/GFramework.Godot.Tests/Text/RichTextEffectsControllerTests.cs index c028e178..0280d8c9 100644 --- a/GFramework.Godot.Tests/Text/RichTextEffectsControllerTests.cs +++ b/GFramework.Godot.Tests/Text/RichTextEffectsControllerTests.cs @@ -1,4 +1,5 @@ -using GFramework.Godot.Text; +using Godot; +using Godot.Collections; using Array = Godot.Collections.Array; namespace GFramework.Godot.Tests.Text; @@ -115,7 +116,7 @@ public sealed class RichTextEffectsControllerTests { CapturedProfiles.Add(profile); CapturedAnimatedEffectsEnabled.Add(animatedEffectsEnabled); - return Array.Empty(); + return new Array(); } public RichTextEffect? CreateEffect(string key, bool animatedEffectsEnabled)