@@ -50,6 +50,7 @@ Without any front matter.
50
50
[ DataRow ( 8 , DisplayName = "Subcategory" ) ]
51
51
[ DataRow ( 9 , DisplayName = "GitHub Discussion Id" ) ]
52
52
[ DataRow ( 10 , DisplayName = "GitHub Issue Id" ) ]
53
+ [ DataRow ( 10 , DisplayName = "Icon" ) ]
53
54
[ TestMethod ]
54
55
public void MissingFrontMatterField ( int removeline )
55
56
{
@@ -64,6 +65,7 @@ public void MissingFrontMatterField(int removeline)
64
65
subcategory: Layout
65
66
discussion-id: 0
66
67
issue-id: 0
68
+ icon: assets/icon.png
67
69
---
68
70
# This is some test documentation...
69
71
> [!SAMPLE Sample]
@@ -91,6 +93,7 @@ public void MarkdownInvalidSampleReference()
91
93
subcategory: Layout
92
94
discussion-id: 0
93
95
issue-id: 0
96
+ icon: assets/icon.png
94
97
---
95
98
# This is some test documentation...
96
99
> [!SAMPLE SampINVALIDle]
@@ -116,6 +119,7 @@ public void DocumentationMissingSample()
116
119
subcategory: Layout
117
120
discussion-id: 0
118
121
issue-id: 0
122
+ icon: assets/icon.png
119
123
---
120
124
# This is some test documentation...
121
125
Without any sample." ;
@@ -139,6 +143,7 @@ public void DocumentationValid()
139
143
subcategory: Layout
140
144
discussion-id: 0
141
145
issue-id: 0
146
+ icon: assets/icon.png
142
147
---
143
148
# This is some test documentation...
144
149
Which is valid.
@@ -161,6 +166,7 @@ public void DocumentationInvalidDiscussionId()
161
166
subcategory: Layout
162
167
discussion-id: https://github.com/1234
163
168
issue-id: 0
169
+ icon: assets/icon.png
164
170
---
165
171
# This is some test documentation...
166
172
Without an invalid discussion id." ;
@@ -184,6 +190,7 @@ public void DocumentationInvalidIssueId()
184
190
subcategory: Layout
185
191
discussion-id: 0
186
192
issue-id: https://github.com/1234
193
+ icon: assets/icon.png
187
194
---
188
195
# This is some test documentation...
189
196
Without an invalid discussion id." ;
0 commit comments