Update xUnit tests for AMSI and repin monad

Includes lots of fixes to monad.
This commit is contained in:
Andrew Schwartzmeyer
2015-09-03 16:04:12 -07:00
parent c071f5882c
commit 962e3671b1
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -15,7 +15,9 @@ namespace PSTests
[Fact]
public static void TestCurrentDomain_ProcessExit()
{
AmsiUtils.CurrentDomain_ProcessExit(null, EventArgs.Empty);
Assert.Throws<PlatformNotSupportedException>(delegate {
AmsiUtils.CurrentDomain_ProcessExit(null, EventArgs.Empty);
});
}
[Fact]