Skip to content

Commit 6d22c66

Browse files
committed
Hovers over input, considered a taghelper
1 parent 8780eba commit 6d22c66

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

test/razorIntegrationTests/hover.integration.tests.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ jestLib.describe(`Razor Hover ${testAssetWorkspace.description}`, function () {
3737
'vscode.executeHoverProvider',
3838
activeDocument,
3939
{
40-
line: 7,
41-
character: 16,
40+
line: 8,
41+
character: 2,
4242
}
4343
);
4444

4545
jestLib.expect(hover).toBeDefined();
4646

4747
jestLib.expect(hover.length).toBe(1);
4848
const first = hover[0];
49-
jestLib.expect(first.contents).toContain('The h1 element represents a section heading.');
49+
jestLib.expect(first.contents).toContain('input');
5050
});
5151
});

test/razorIntegrationTests/testAssets/BasicRazorApp2_1/Pages/Index.cshtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
}
66

77
<h1>@(message)</h1>
8+
<input asp-for="Model.PropertyName" />

0 commit comments

Comments
 (0)