diff options
author | Mikayla Hutchinson <m.j.hutchinson@gmail.com> | 2018-06-08 02:25:44 +0300 |
---|---|---|
committer | Mikayla Hutchinson <m.j.hutchinson@gmail.com> | 2018-06-08 02:25:44 +0300 |
commit | 90aa44eec05b8ce7d590fe041ec64a3155c4bb14 (patch) | |
tree | ddddeabff95f0fe6c76359bfe811d8eec6bbd9e6 /main/src/addins/MonoDevelop.UnitTesting.NUnit | |
parent | 0b2406497980f598f4dc8cad7bbd3ceea19252a8 (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.cs | 5 |
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; |