Skip to content

Commit a296e9a

Browse files
Ryan Nowakrynowak
Ryan Nowak
authored andcommitted
PR feedback (test cleanup)
1 parent 143a390 commit a296e9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Components/Components/test/RenderTreeBuilderTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,15 +399,15 @@ public void CannotAddAttributeAtRoot()
399399
}
400400

401401
[Fact]
402-
public void CannotDelegateAttributeAtRoot()
402+
public void CannotAddDelegateAttributeAtRoot()
403403
{
404404
// Arrange
405405
var builder = new RenderTreeBuilder(new TestRenderer());
406406

407407
// Act/Assert
408408
Assert.Throws<InvalidOperationException>(() =>
409409
{
410-
builder.AddAttribute(0, "name", new Action<UIEventArgs>(eventInfo => { }));
410+
builder.AddAttribute(0, "name", new Action<string>(text => { }));
411411
});
412412
}
413413

0 commit comments

Comments
 (0)