We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88247e4 commit 20dec0cCopy full SHA for 20dec0c
test/UnitTest/Components/LinkTest.cs
@@ -12,9 +12,10 @@ public void Link_Ok()
12
var cut = Context.RenderComponent<Link>(pb =>
13
{
14
pb.Add(a => a.Href, "http://www.blazor.zone");
15
+ pb.Add(a => a.Rel, "stylesheet-test");
16
});
17
var versionService = cut.Services.GetRequiredService<IVersionService>();
- Assert.Equal($"<link href=\"http://www.blazor.zone?v={versionService.GetVersion()}\" rel=\"stylesheet\" />", cut.Markup);
18
+ Assert.Equal($"<link href=\"http://www.blazor.zone?v={versionService.GetVersion()}\" rel=\"stylesheet-test\" />", cut.Markup);
19
}
20
21
[Fact]
0 commit comments