summaryrefslogtreecommitdiff
path: root/tests/src
diff options
context:
space:
mode:
authorAditya Mandaleeka <adityam@microsoft.com>2017-03-29 17:41:08 -0700
committerAditya Mandaleeka <adityam@microsoft.com>2017-03-29 17:41:08 -0700
commit4649351f093e73300b5f64f0196e585f867b5007 (patch)
treef4d075987f7360c9c8a6f78746ec336062eecb8e /tests/src
parent14b09e8777615f57fc1e78c0c7775962ee5b44a0 (diff)
downloadcoreclr-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.cs8
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;
}
}