mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 00:39:00 +08:00
fix(godot-tests): 清理模块安装测试异步断言包装
- 修复 Assert.ThrowsAsync 中机械型 async 包装\n- 保持锚点缺失场景的异常与未安装断言语义不变
This commit is contained in:
parent
b56e08adae
commit
877d1f38a6
@ -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(() =>
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user