From e88e463315c9d9ea25489831d9a12f96696313c5 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Tue, 22 Mar 2016 21:41:46 -0700 Subject: [PATCH] Add regression test .NET class interop This bug arose because of a shortcut previously taken when generating input for the type catalog generator. With a proper parser created, the input to the generator is now correct, and so this test should succeed. --- test/powershell/DotNetInterop.Tests.ps1 | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/powershell/DotNetInterop.Tests.ps1 diff --git a/test/powershell/DotNetInterop.Tests.ps1 b/test/powershell/DotNetInterop.Tests.ps1 new file mode 100644 index 000000000..efdfc57ee --- /dev/null +++ b/test/powershell/DotNetInterop.Tests.ps1 @@ -0,0 +1,5 @@ +Describe ".NET class interoperability" { + It "Should access types in System.Console" { + [System.Console]::TreatControlCAsInput | Should Be $false + } +}