diff options
author | Aditya Mandaleeka <adityam@microsoft.com> | 2017-03-29 17:41:08 -0700 |
---|---|---|
committer | Aditya Mandaleeka <adityam@microsoft.com> | 2017-03-29 17:41:08 -0700 |
commit | 4649351f093e73300b5f64f0196e585f867b5007 (patch) | |
tree | f4d075987f7360c9c8a6f78746ec336062eecb8e /tests/src | |
parent | 14b09e8777615f57fc1e78c0c7775962ee5b44a0 (diff) | |
download | coreclr-4649351f093e73300b5f64f0196e585f867b5007.tar.gz coreclr-4649351f093e73300b5f64f0196e585f867b5007.tar.bz2 coreclr-4649351f093e73300b5f64f0196e585f867b5007.zip |
Reduce console writes in 544701.
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/GC/Regressions/v2.0-rtm/544701/544701.cs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/src/GC/Regressions/v2.0-rtm/544701/544701.cs b/tests/src/GC/Regressions/v2.0-rtm/544701/544701.cs index 7148f084bc..cb66e0041e 100644 --- a/tests/src/GC/Regressions/v2.0-rtm/544701/544701.cs +++ b/tests/src/GC/Regressions/v2.0-rtm/544701/544701.cs @@ -35,17 +35,11 @@ internal class AllocBug { try { - Console.Write("Allocating "); - Console.Write(bytesToAlloc); - Console.Write(" bytes... "); - byte[] buffer = new byte[bytesToAlloc]; - - Console.WriteLine("Passed"); } catch (Exception) { - Console.WriteLine("Unexpected Exception: "); + Console.WriteLine("Unexpected Exception when allocating "+bytesToAlloc+" bytes."); ret = -1; } } |