Disable format test for mono (#18152)
This commit is contained in:
parent
8530e34c62
commit
f610fbc5d9
1 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,12 @@ public class DotNetFormatTests : SdkTests
|
||||||
[Fact]
|
[Fact]
|
||||||
public void FormatProject()
|
public void FormatProject()
|
||||||
{
|
{
|
||||||
|
if (DotNetHelper.IsMonoRuntime)
|
||||||
|
{
|
||||||
|
// TODO: Temporarily disabled due to https://github.com/dotnet/sdk/issues/37774
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
string unformattedCsFilePath = Path.Combine(BaselineHelper.GetAssetsDirectory(), UnformattedFileName);
|
string unformattedCsFilePath = Path.Combine(BaselineHelper.GetAssetsDirectory(), UnformattedFileName);
|
||||||
|
|
||||||
string projectDirectory = DotNetHelper.ExecuteNew("console", nameof(FormatProject), "C#");
|
string projectDirectory = DotNetHelper.ExecuteNew("console", nameof(FormatProject), "C#");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue