Browse Source

daignosing unit test fail in action

Tigger Kindel 2 years ago
parent
commit
fa2732ec51
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Terminal.Gui/ConsoleDrivers/NetDriver.cs

+ 1 - 0
Terminal.Gui/ConsoleDrivers/NetDriver.cs

@@ -624,6 +624,7 @@ internal class NetDriver : ConsoleDriver {
 			// We are being run in an environment that does not support a console
 			// such as a unit test, or a pipe.
 			_runningUnitTests = true;
+			throw new InvalidProgramException ();
 			Cols = 80;
 			Rows = 24;
 		}