Skip to content

Commit

Permalink
Test now crashes due to stack corruption.
Browse files Browse the repository at this point in the history
  • Loading branch information
mterwoord committed Nov 6, 2015
1 parent 7d13293 commit 08290ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tests/Cosmos.Compiler.Tests.Exceptions/Kernel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ protected override void Run()
}
mDebugger.Send("END:");

Assert.IsTrue(xCaught, "Did not reach catch block (1)");
//Assert.IsTrue(xInFinally, "Did not reach finally block (1)");
//Assert.IsTrue(xCaught, "Did not reach catch block (2)");
//Assert.IsTrue(xInFinally, "Did not reach finally block (2)");
xCaught = false;
xInFinally = false;

Expand All @@ -90,8 +90,8 @@ protected override void Run()
}
mDebugger.Send("END:");

Assert.IsTrue(xCaught, "Did not reach catch block (1)");
//Assert.IsTrue(xInFinally, "Did not reach finally block (1)");
Assert.IsTrue(xCaught, "Did not reach catch block (3)");
//Assert.IsTrue(xInFinally, "Did not reach finally block (3)");

TestController.Completed();
}
Expand Down

0 comments on commit 08290ba

Please sign in to comment.