File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
tests/bunit.web.query.tests/Labels Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -4,16 +4,15 @@ namespace Bunit.Labels;
44
55public class LabelQueryExtensionsTests : TestContext
66{
7- public static IEnumerable < object [ ] > HtmlElementsThatCanHaveALabel =>
8- new List < object [ ] >
9- {
10- new object [ ] { "input" } ,
11- new object [ ] { "select" } ,
12- new object [ ] { "button" } ,
13- new object [ ] { "meter" } ,
14- new object [ ] { "output" } ,
15- new object [ ] { "progress" } ,
16- } ;
7+ public static TheoryData < string > HtmlElementsThatCanHaveALabel { get ; } = new ( )
8+ {
9+ "input" ,
10+ "select" ,
11+ "button" ,
12+ "meter" ,
13+ "output" ,
14+ "progress" ,
15+ } ;
1716
1817 [ Theory ( DisplayName = "Should return back associated element with label when using the for attribute" ) ]
1918 [ MemberData ( nameof ( HtmlElementsThatCanHaveALabel ) ) ]
You can’t perform that action at this time.
0 commit comments