diff --git a/test/powershell/Add-Type.Tests.ps1 b/test/powershell/Add-Type.Tests.ps1 new file mode 100644 index 0000000000..14aec2ed2f --- /dev/null +++ b/test/powershell/Add-Type.Tests.ps1 @@ -0,0 +1,5 @@ +Describe "Add-Type" { + It "Should not throw given a simple class definition" { + { Add-Type -TypeDefinition "public static class foo { }" } | Should Not Throw + } +}