Fix ScenarioTests unit test.

This commit is contained in:
BDisp
2023-03-17 11:32:38 +00:00
parent 846494ea7c
commit 2d9c4dc65b

View File

@@ -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;