Explorar el Código

Fix ScenarioTests unit test.

BDisp hace 2 años
padre
commit
2d9c4dc65b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      UnitTests/UICatalog/ScenarioTests.cs

+ 1 - 1
UnitTests/UICatalog/ScenarioTests.cs

@@ -70,7 +70,7 @@ namespace UICatalog.Tests {
 				FakeConsole.PushMockKeyPress (Application.QuitKey);
 				FakeConsole.PushMockKeyPress (Application.QuitKey);
 
 
 				// The only key we care about is the 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}");
 					output.WriteLine ($"  Keypress: {args.KeyEvent.Key}");
 					Assert.Equal (Application.QuitKey, args.KeyEvent.Key);
 					Assert.Equal (Application.QuitKey, args.KeyEvent.Key);
 					args.Handled = false;
 					args.Handled = false;