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

@ -1 +1 @@
Subproject commit d541b073435e55fd96771697e5549cc9a188fa54
Subproject commit 38fe674dc9c66c2752a322f1986ab6d387016d27

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]