Enabling ViewEngine and Localization tests which use expanders. The issues are fixed in the mono beta 4.0.4.

This commit is contained in:
sornaks 2015-08-28 11:48:03 -07:00
parent f2db0d1483
commit 9915ea3809
2 changed files with 6 additions and 18 deletions

View File

@ -46,17 +46,13 @@ mypartial
</fr-language-layout>";
yield return new[] { "fr", expected2 };
if (!TestPlatformHelper.IsMono)
{
// https://github.com/aspnet/Mvc/issues/2759
var expected3 =
@"<language-layout>
var expected3 =
@"<language-layout>
index
partial
mypartial
</language-layout>";
yield return new[] { "!-invalid-!", expected3 };
}
yield return new[] { "!-invalid-!", expected3 };
}
}

View File

@ -144,13 +144,9 @@ gb-partial";
fr-partial";
yield return new[] { "fr", expected2 };
if (!TestPlatformHelper.IsMono)
{
// https://github.com/aspnet/Mvc/issues/2759
var expected3 = @"expander-index
var expected3 = @"expander-index
expander-partial";
yield return new[] { "!-invalid-!", expected3 };
}
yield return new[] { "!-invalid-!", expected3 };
}
}
@ -294,11 +290,7 @@ View With Layout
yield return new[] { "en-GB", expected1 };
if (!TestPlatformHelper.IsMono)
{
// https://github.com/aspnet/Mvc/issues/2759
yield return new[] { "!-invalid-!", expected1 };
}
yield return new[] { "!-invalid-!", expected1 };
var expected2 =
@"<fr-language-layout>