浏览代码

Fix ScenarioTests unit test.

BDisp 2 年之前
父节点
当前提交
2d9c4dc65b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      UnitTests/UICatalog/ScenarioTests.cs

+ 1 - 1
UnitTests/UICatalog/ScenarioTests.cs

@@ -70,7 +70,7 @@ namespace UICatalog.Tests {
 				FakeConsole.PushMockKeyPress (Application.QuitKey);
 
 				// The only key we care about is the QuitKey
-				Application.Top.KeyPress += (View.KeyEventEventArgs args) => {
+				Application.Top.KeyPress += (object sender, KeyEventEventArgs args) => {
 					output.WriteLine ($"  Keypress: {args.KeyEvent.Key}");
 					Assert.Equal (Application.QuitKey, args.KeyEvent.Key);
 					args.Handled = false;