mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-10 02:59:02 +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 architecture = new TestArchitecture();
|
||||||
var module = new RecordingGodotModule();
|
var module = new RecordingGodotModule();
|
||||||
|
|
||||||
var exception = Assert.ThrowsAsync<InvalidOperationException>(async () =>
|
var exception = Assert.ThrowsAsync<InvalidOperationException>(() =>
|
||||||
await architecture.InstallGodotModuleForTestAsync(module).ConfigureAwait(false));
|
architecture.InstallGodotModuleForTestAsync(module));
|
||||||
|
|
||||||
Assert.Multiple(() =>
|
Assert.Multiple(() =>
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user