2
0
Эх сурвалжийг харах

Fix a conflict with this unit test and the TestVKPacket unit test.

BDisp 1 жил өмнө
parent
commit
9646c101b0

+ 4 - 0
UnitTests/Views/ViewTests.cs

@@ -1246,6 +1246,10 @@ namespace Terminal.Gui.ViewTests {
 
 			Application.Run ();
 
+			// Ensures cleaning any keystroke.
+			// This was conflicting with the TestVKPacket unit test
+			Console.MockKeyPresses.Clear ();
+
 			// Shutdown must be called to safely clean up Application if Init has been called
 			Application.Shutdown ();
 		}