From cd32a006c69eab0d38a80b20c419535117ea5d7b Mon Sep 17 00:00:00 2001 From: GeWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Mon, 6 Apr 2026 22:15:30 +0800 Subject: [PATCH] =?UTF-8?q?fix(tests):=20=E4=BF=AE=E6=AD=A3=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=8A=A0=E8=BD=BD=E5=99=A8=E5=8F=82=E6=95=B0=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E6=96=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将断言中的参数名从 "ConfigureLoader" 更新为 "options" - 确保测试用例与实际实现保持一致 --- GFramework.Game.Tests/Config/GameConfigBootstrapTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GFramework.Game.Tests/Config/GameConfigBootstrapTests.cs b/GFramework.Game.Tests/Config/GameConfigBootstrapTests.cs index 56b00149..c6f28484 100644 --- a/GFramework.Game.Tests/Config/GameConfigBootstrapTests.cs +++ b/GFramework.Game.Tests/Config/GameConfigBootstrapTests.cs @@ -124,7 +124,7 @@ public class GameConfigBootstrapTests RootPath = _rootPath })); - Assert.That(exception!.ParamName, Is.EqualTo("ConfigureLoader")); + Assert.That(exception!.ParamName, Is.EqualTo("options")); } ///