Imported Upstream version 6.8.0.82

Former-commit-id: 7e63bf6e0646194a7ccc6e2356266bef05ce51bb
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-12-20 08:48:16 +00:00
parent 665300eaa7
commit f0b8def9a1
53 changed files with 57 additions and 54 deletions

View File

@@ -94,7 +94,7 @@ namespace System.Reflection.Tests
public void Name()
{
#if MONO
Assert.EndsWith("corlib_xunit-test.dll", Module.Name);
Assert.Contains("corlib_xunit-test", Module.Name);
#else
Assert.Equal("system.runtime.tests.dll", Module.Name, ignoreCase: true);
#endif
@@ -126,7 +126,7 @@ namespace System.Reflection.Tests
public void TestToString()
{
#if MONO
Assert.EndsWith("corlib_xunit-test.dll", Module.ToString());
Assert.Contains("corlib_xunit-test", Module.ToString());
#else
Assert.Equal("System.Runtime.Tests.dll", Module.ToString());
#endif