Skip to content

Commit

Permalink
theorydata
Browse files Browse the repository at this point in the history
Co-authored-by: Egil Hansen <[email protected]>
  • Loading branch information
scottsauber and egil authored Nov 2, 2023
1 parent 61730ed commit 67890be
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions tests/bunit.web.query.tests/Labels/LabelQueryExtensionsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ namespace Bunit.Labels;

public class LabelQueryExtensionsTests : TestContext
{
public static IEnumerable<object[]> HtmlElementsThatCanHaveALabel =>
new List<object[]>
{
new object[] { "input" },
new object[] { "select" },
new object[] { "button" },
new object[] { "meter" },
new object[] { "output" },
new object[] { "progress" },
};
public static TheoryData<string> HtmlElementsThatCanHaveALabel { get; } = new()
{
"input",
"select",
"button",
"meter",
"output",
"progress",
};

[Theory(DisplayName = "Should return back associated element with label when using the for attribute")]
[MemberData(nameof(HtmlElementsThatCanHaveALabel))]
Expand Down

0 comments on commit 67890be

Please sign in to comment.