Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit de629a8

Browse files
author
N. Taylor Mullen
committed
- Also added `TagStructure` related test data to ensure reaction works.
1 parent 0d18a6d commit de629a8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/Microsoft.AspNet.Tooling.Razor.Test/RazorPluginTest.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public class RazorPluginTest
3131
CustomTagHelperAssembly,
3232
attributes: new TagHelperAttributeDescriptor[0],
3333
requiredAttributes: new string[0],
34+
tagStructure: TagStructure.Unspecified,
3435
designTimeDescriptor: null);
3536

3637
[Fact]
@@ -217,6 +218,7 @@ public void ProcessMessage_ResolveTagHelperDescriptors_ResolvesDesignTimeTagHelp
217218
typeof(DesignTimeTagHelper).Assembly.GetName().Name,
218219
attributes: new TagHelperAttributeDescriptor[0],
219220
requiredAttributes: new string[0],
221+
tagStructure: TagStructure.NormalOrSelfClosing,
220222
designTimeDescriptor: new TagHelperDesignTimeDescriptor(
221223
summary: null,
222224
remarks: null,
@@ -305,6 +307,7 @@ public class CustomTagHelper : TagHelper
305307
}
306308

307309
[OutputElementHint("strong")]
310+
[TargetElement("design-time", TagStructure = TagStructure.NormalOrSelfClosing)]
308311
public class DesignTimeTagHelper : TagHelper
309312
{
310313
}

0 commit comments

Comments
 (0)