diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2016-08-19 08:12:27 +0300 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2016-08-19 08:12:40 +0300 |
commit | 76f928b426e4a7d60e07552817f48987ecc6e435 (patch) | |
tree | 75aed315696b225cd513183ffcfeab4636393a51 /main/src/addins | |
parent | 992baa9a862cd6db25d8f43ce944e72d33c47781 (diff) |
[NUnit] Fix GetSourceCodeLocation check.
Not really a bug - note that the namespace is allowed to be null.
Diffstat (limited to 'main/src/addins')
-rw-r--r-- | main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitProjectTestSuite.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitProjectTestSuite.cs b/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitProjectTestSuite.cs index 78595bc3e0..1d88381efb 100644 --- a/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitProjectTestSuite.cs +++ b/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitProjectTestSuite.cs @@ -120,7 +120,7 @@ namespace MonoDevelop.UnitTesting.NUnit protected override SourceCodeLocation GetSourceCodeLocation (string fixtureTypeNamespace, string fixtureTypeName, string testName) { - if (string.IsNullOrEmpty (fixtureTypeName) || string.IsNullOrEmpty (fixtureTypeName)) + if (string.IsNullOrEmpty (fixtureTypeName)) return null; var task = NUnitSourceCodeLocationFinder.TryGetSourceCodeLocationAsync (project, fixtureTypeNamespace, fixtureTypeName, testName); if (!task.Wait (2000)) |