diff options
author | EgorBo <egorbo@gmail.com> | 2017-10-06 22:16:45 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2017-10-19 11:54:03 +0300 |
commit | eb5fa1fcedf363f137fd74c6affa7d6f9f612ff0 (patch) | |
tree | eebfdc7942f02e61061485f3971b29d5d355bd35 /mcs | |
parent | bbb109bd0380636646480736da846484de42db99 (diff) |
fix code-style issues
Diffstat (limited to 'mcs')
-rw-r--r-- | mcs/class/corlib/Test/System.Threading/ThreadPoolTest.cs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/mcs/class/corlib/Test/System.Threading/ThreadPoolTest.cs b/mcs/class/corlib/Test/System.Threading/ThreadPoolTest.cs index 74715403169..86e735b9dbe 100644 --- a/mcs/class/corlib/Test/System.Threading/ThreadPoolTest.cs +++ b/mcs/class/corlib/Test/System.Threading/ThreadPoolTest.cs @@ -158,20 +158,20 @@ namespace MonoTests.System.Threading } [Test] - public void SetMaxPossibleThreads() + public void SetMaxPossibleThreads () { var maxPossibleThreads = 0x7fff; int maxWt, macCpt; - - ThreadPool.SetMaxThreads(maxPossibleThreads, maxPossibleThreads); - ThreadPool.GetMaxThreads(out maxWt, out macCpt); - Assert.AreEqual(maxPossibleThreads, maxWt); - Assert.AreEqual(maxPossibleThreads, macCpt); - - ThreadPool.SetMaxThreads(maxPossibleThreads + 1, maxPossibleThreads + 1); - ThreadPool.GetMaxThreads(out maxWt, out macCpt); - Assert.AreEqual(maxPossibleThreads, maxWt); - Assert.AreEqual(maxPossibleThreads, macCpt); + + ThreadPool.SetMaxThreads (maxPossibleThreads, maxPossibleThreads); + ThreadPool.GetMaxThreads (out maxWt, out macCpt); + Assert.AreEqual (maxPossibleThreads, maxWt); + Assert.AreEqual (maxPossibleThreads, macCpt); + + ThreadPool.SetMaxThreads (maxPossibleThreads + 1, maxPossibleThreads + 1); + ThreadPool.GetMaxThreads (out maxWt, out macCpt); + Assert.AreEqual (maxPossibleThreads, maxWt); + Assert.AreEqual (maxPossibleThreads, macCpt); } [Test] |