Skip to content

Commit da91d7b

Browse files
committed
Unskip remaining tests because they all seem to pass
1 parent 3a1b954 commit da91d7b

File tree

4 files changed

+55
-49
lines changed

4 files changed

+55
-49
lines changed

src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/Formatting_NetFx/CodeDirectiveFormattingTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace Microsoft.AspNetCore.Razor.LanguageServer.Formatting;
1515
public class CodeDirectiveFormattingTest(FormattingTestContext context, HtmlFormattingFixture fixture, ITestOutputHelper testOutput)
1616
: FormattingTestBase(context, fixture.Service, testOutput), IClassFixture<FormattingTestContext>
1717
{
18-
[FormattingTestFact(SkipFlipLineEnding = true)]
18+
[FormattingTestFact]
1919
[WorkItem("https://github.com/dotnet/razor-tooling/issues/5648")]
2020
public async Task GenericComponentWithCascadingTypeParameter()
2121
{
@@ -123,7 +123,7 @@ await RunFormattingTestAsync(
123123
tagHelpers: GetComponentWithCascadingTypeParameter());
124124
}
125125

126-
[FormattingTestFact(SkipFlipLineEnding = true)] // tracked by https://github.com/dotnet/razor/issues/10836
126+
[FormattingTestFact]
127127
[WorkItem("https://github.com/dotnet/razor-tooling/issues/5648")]
128128
public async Task GenericComponentWithCascadingTypeParameter_MultipleParameters()
129129
{

src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/Formatting_NetFx/DocumentFormattingTest.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1872,14 +1872,18 @@ void Method() { }
18721872
""");
18731873
}
18741874

1875-
[FormattingTestFact(SkipFlipLineEnding = true)] // tracked by https://github.com/dotnet/razor/issues/10836
1875+
[FormattingTestFact]
18761876
public async Task FormatsShortBlock()
18771877
{
18781878
await RunFormattingTestAsync(
18791879
input: """
1880+
<div>
1881+
</div>
18801882
@{<p></p>}
18811883
""",
18821884
expected: """
1885+
<div>
1886+
</div>
18831887
@{
18841888
<p></p>
18851889
}

src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/Formatting_NetFx/HtmlFormattingTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace Microsoft.AspNetCore.Razor.LanguageServer.Formatting;
1616
public class HtmlFormattingTest(FormattingTestContext context, HtmlFormattingFixture fixture, ITestOutputHelper testOutput)
1717
: FormattingTestBase(context, fixture.Service, testOutput), IClassFixture<FormattingTestContext>
1818
{
19-
[FormattingTestFact(SkipFlipLineEnding = true)] // tracked by https://github.com/dotnet/razor/issues/10836
19+
[FormattingTestFact]
2020
public async Task FormatsComponentTags()
2121
{
2222
var tagHelpers = GetComponents();
@@ -363,7 +363,7 @@ await RunFormattingTestAsync(
363363
tagHelpers: GetComponents());
364364
}
365365

366-
[FormattingTestFact(SkipFlipLineEnding = true)] // tracked by https://github.com/dotnet/razor/issues/10836
366+
[FormattingTestFact]
367367
[WorkItem("https://github.com/dotnet/razor/issues/6211")]
368368
public async Task FormatCascadingValueWithCascadingTypeParameter()
369369
{

0 commit comments

Comments
 (0)