accidentally put stackoverflow for exception

now using overflowexception accidentally put stackoverflowexception for the test.
This commit is contained in:
Geramy Loveless 2018-07-24 22:08:31 -07:00
parent 7233eb71d9
commit ba221cfe1c
2 changed files with 4 additions and 4 deletions

View file

@ -151,7 +151,7 @@ namespace Cosmos.Compiler.Tests.Bcl.System
{
val3o += 2147483647;
}
catch (StackOverflowException e)
catch (OverflowException e)
{
efuse = true;
}
@ -163,7 +163,7 @@ namespace Cosmos.Compiler.Tests.Bcl.System
{
val3o -= 2147483647;
}
catch (StackOverflowException e)
catch (OverflowException e)
{
efuse = true;
}

View file

@ -157,7 +157,7 @@ namespace Cosmos.Compiler.Tests.Bcl.System
{
val3o += long.MaxValue;
}
catch (StackOverflowException e)
catch (OverflowException e)
{
efuse = true;
}
@ -169,7 +169,7 @@ namespace Cosmos.Compiler.Tests.Bcl.System
{
val3o -= long.MaxValue;
}
catch (StackOverflowException e)
catch (OverflowException e)
{
efuse = true;
}