fix(godot-tests): 清理模块安装测试异步断言包装

- 修复 Assert.ThrowsAsync 中机械型 async 包装\n- 保持锚点缺失场景的异常与未安装断言语义不变
This commit is contained in:
gewuyou 2026-04-25 09:17:22 +08:00
parent b56e08adae
commit 877d1f38a6

View File

@ -19,8 +19,8 @@ public sealed class AbstractArchitectureModuleInstallationTests
var architecture = new TestArchitecture();
var module = new RecordingGodotModule();
var exception = Assert.ThrowsAsync<InvalidOperationException>(async () =>
await architecture.InstallGodotModuleForTestAsync(module).ConfigureAwait(false));
var exception = Assert.ThrowsAsync<InvalidOperationException>(() =>
architecture.InstallGodotModuleForTestAsync(module));
Assert.Multiple(() =>
{