From ba221cfe1cea3afbd3ff326ea059de90c4e5bbbd Mon Sep 17 00:00:00 2001 From: Geramy Loveless Date: Tue, 24 Jul 2018 22:08:31 -0700 Subject: [PATCH] accidentally put stackoverflow for exception now using overflowexception accidentally put stackoverflowexception for the test. --- Tests/Cosmos.Compiler.Tests.Bcl/System/Int32Test.cs | 4 ++-- Tests/Cosmos.Compiler.Tests.Bcl/System/Int64Test.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Tests/Cosmos.Compiler.Tests.Bcl/System/Int32Test.cs b/Tests/Cosmos.Compiler.Tests.Bcl/System/Int32Test.cs index c576b17ec..29cf1ce5e 100644 --- a/Tests/Cosmos.Compiler.Tests.Bcl/System/Int32Test.cs +++ b/Tests/Cosmos.Compiler.Tests.Bcl/System/Int32Test.cs @@ -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; } diff --git a/Tests/Cosmos.Compiler.Tests.Bcl/System/Int64Test.cs b/Tests/Cosmos.Compiler.Tests.Bcl/System/Int64Test.cs index 3d663f22e..02c811903 100644 --- a/Tests/Cosmos.Compiler.Tests.Bcl/System/Int64Test.cs +++ b/Tests/Cosmos.Compiler.Tests.Bcl/System/Int64Test.cs @@ -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; }