diff options
author | Jo Shields <jo.shields@xamarin.com> | 2014-12-15 16:37:19 +0300 |
---|---|---|
committer | Jo Shields <jo.shields@xamarin.com> | 2014-12-15 16:37:19 +0300 |
commit | 5b591e10983e290196a3c1c9c180d730a4b4a461 (patch) | |
tree | 42e51074d5a24bdcb35a2132e98bf6d96bf10566 /mcs/class/Microsoft.Build/Test | |
parent | 7b58afa1c8f37c0c82e8d95e8b274834b2fecbbc (diff) |
Revert "Use ";" not Empty as bad TargetFrameworkDirectory value"
This reverts commit 7b58afa1c8f37c0c82e8d95e8b274834b2fecbbc.
Apparently this bad value passes on mac/wrench. So it's not a good failure condition for the test.
Diffstat (limited to 'mcs/class/Microsoft.Build/Test')
-rw-r--r-- | mcs/class/Microsoft.Build/Test/Microsoft.Build.Execution/BuildManagerTest.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/Microsoft.Build/Test/Microsoft.Build.Execution/BuildManagerTest.cs b/mcs/class/Microsoft.Build/Test/Microsoft.Build.Execution/BuildManagerTest.cs index 9f0b2aceda8..cdf6e9f2c32 100644 --- a/mcs/class/Microsoft.Build/Test/Microsoft.Build.Execution/BuildManagerTest.cs +++ b/mcs/class/Microsoft.Build/Test/Microsoft.Build.Execution/BuildManagerTest.cs @@ -183,7 +183,7 @@ namespace MonoTests.Microsoft.Build.Execution var request = new BuildRequestData (proj, new string [] {"ResolveAssemblyReferences"}); Assert.AreEqual (string.Empty, proj.GetPropertyValue ("TargetFrameworkDirectory"), "#1-1"); var result = manager.Build (parameters, request); - Assert.AreNotEqual (";", proj.GetPropertyValue ("TargetFrameworkDirectory"), "#1-2"); // filled during build. + Assert.AreNotEqual (string.Empty, proj.GetPropertyValue ("TargetFrameworkDirectory"), "#1-2"); // filled during build. Assert.IsTrue (result.ResultsByTarget.ContainsKey ("GetFrameworkPaths"), "#2-1"); Assert.IsTrue (result.ResultsByTarget.ContainsKey ("PrepareForBuild"), "#2-2"); Assert.IsTrue (result.ResultsByTarget.ContainsKey ("ResolveAssemblyReferences"), "#2-3"); |