mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Fix ScenarioTests unit test.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user