fix: fix warnings in test related code.

This commit is contained in:
rabbitism
2024-11-06 18:44:49 +08:00
parent 6ef0cf9e1c
commit 186424b848
2 changed files with 4 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ public class UrsaWindowTest
}
[AvaloniaFact]
public async void Inferenced_Window_Closing_Called_Once_When_Yes()
public void Inferenced_Window_Closing_Called_Once_When_Yes()
{
var window = new UrsaWindowWithCloseInference();
window.Show();
@@ -29,7 +29,7 @@ public class UrsaWindowTest
}
[AvaloniaFact]
public async void Inferenced_Window_Closing_Called_Once_When_No()
public void Inferenced_Window_Closing_Called_Once_When_No()
{
var window = new UrsaWindowWithCloseInference();
window.Show();