Skip to content

Commit 38f77ee

Browse files
committed
test: 更新单元测试
1 parent 01b9ad4 commit 38f77ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/UnitTest/Components/DialogTest.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ await cut.InvokeAsync(() => dialog.Show(new DialogOption()
6464
return Task.CompletedTask;
6565
}
6666
}));
67-
Assert.Contains("<svg", cut.Markup);
67+
68+
// 由于设置了 ShowMaximizeButton 导致 ShowResize 参数失效
69+
Assert.DoesNotContain("<svg", cut.Markup);
6870
Assert.Contains("data-bs-backdrop=\"static\"", cut.Markup);
6971

7072
// 全屏按钮

0 commit comments

Comments
 (0)