Skip to content

Commit 6894ab3

Browse files
committed
Rename test, and fix
1 parent 06385cd commit 6894ab3

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

test/razorIntegrationTests/razorFormatting.integration.test.ts renamed to test/razorIntegrationTests/formatting.integration.test.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,14 @@ jestLib.describe(`Razor Formatting ${testAssetWorkspace.description}`, function
5757
const contents = vscode.window.activeTextEditor?.document.getText();
5858
jestLib.expect(contents).toEqual(`@page "/bad"
5959
60-
<div>
61-
<p>
62-
Hello
63-
</p>
64-
</div>
65-
6660
@code {
6761
private string _x = "";
62+
63+
private void M()
64+
{
65+
// hi there
66+
}
6867
}
69-
`);
68+
`);
7069
});
7170
});
Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
@page "/bad"
22

3-
<div>
4-
<p>
5-
Hello
6-
</p>
7-
</div>
3+
@code {
4+
private string _x = "";
85

9-
@code{
10-
private string _x = "";
6+
private void M()
7+
{
8+
// hi there
9+
}
1110
}

0 commit comments

Comments
 (0)