Disable Cross plat tests for design time code gen tests.
This commit is contained in:
parent
1ac38fea6b
commit
ead9692ab1
|
|
@ -161,6 +161,11 @@ namespace Microsoft.AspNetCore.Razor.Evolution.IntegrationTests
|
||||||
|
|
||||||
protected void AssertDesignTimeDocumentMatchBaseline(RazorCodeDocument document)
|
protected void AssertDesignTimeDocumentMatchBaseline(RazorCodeDocument document)
|
||||||
{
|
{
|
||||||
|
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (Filename == null)
|
if (Filename == null)
|
||||||
{
|
{
|
||||||
var message = $"{nameof(AssertDesignTimeDocumentMatchBaseline)} should only be called from an integration test ({nameof(Filename)} is null).";
|
var message = $"{nameof(AssertDesignTimeDocumentMatchBaseline)} should only be called from an integration test ({nameof(Filename)} is null).";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue