Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikayla Hutchinson <m.j.hutchinson@gmail.com>2018-06-08 02:25:44 +0300
committerMikayla Hutchinson <m.j.hutchinson@gmail.com>2018-06-08 02:25:44 +0300
commit90aa44eec05b8ce7d590fe041ec64a3155c4bb14 (patch)
treeddddeabff95f0fe6c76359bfe811d8eec6bbd9e6 /main/src/addins/MonoDevelop.UnitTesting.NUnit
parent0b2406497980f598f4dc8cad7bbd3ceea19252a8 (diff)
[NUnit] Fix warning
Diffstat (limited to 'main/src/addins/MonoDevelop.UnitTesting.NUnit')
-rw-r--r--main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitAssemblyTestSuite.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitAssemblyTestSuite.cs b/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitAssemblyTestSuite.cs
index 31fdbe851f..918627278a 100644
--- a/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitAssemblyTestSuite.cs
+++ b/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitAssemblyTestSuite.cs
@@ -430,8 +430,9 @@ namespace MonoDevelop.UnitTesting.NUnit
GetCustomTestRunner (out testRunnerAssembly, out testRunnerType);
testContext.Monitor.CancellationToken.ThrowIfCancellationRequested ();
-
- result = runner.Run (localMonitor, filter, AssemblyPath, "", new List<string> (SupportAssemblies), testRunnerType, testRunnerAssembly, crashLogFile).Result;
+
+ var supportAssemblies = new List<string> (GetSupportAssembliesAsync ().Result);
+ result = runner.Run (localMonitor, filter, AssemblyPath, "", supportAssemblies, testRunnerType, testRunnerAssembly, crashLogFile).Result;
if (testName != null)
result = localMonitor.SingleTestResult;