PowerShell7/test/powershell/Add-Type.Tests.ps1
Sergei Vorobev bf1a2c8521 Make Add-Type work without a flat folder structure
- Get rid of the assumption that all framework assemlbies live in
  the same place
- Enable build scenario (assemlbies are referenced directly from unpacked
  nuget packages)
- Fix #766
- Re-enable Add-Type tests
2016-04-08 21:41:30 -07:00

6 lines
169 B
PowerShell

Describe "Add-Type" {
It "Should not throw given a simple class definition" {
{ Add-Type -TypeDefinition "public static class foo { }" } | Should Not Throw
}
}