Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump MudBlazor from 6.11.0 to 6.11.1 #223

Merged
merged 4 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/MudBlazor.Markdown/MudBlazor.Markdown.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<ItemGroup>
<PackageReference Include="Markdig" Version="0.33.0" />
<PackageReference Include="MudBlazor" Version="6.11.0" />
<PackageReference Include="MudBlazor" Version="6.11.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public sealed class IsExternalUriShould
[Theory]
[InlineData(null)]
[InlineData("")]
public void ReturnFalseIfUrlIsNullOrEmpty(string input)
public void ReturnFalseIfUrlIsNullOrEmpty(string? input)
{
var result = input.IsExternalUri("base uri");

Expand All @@ -17,7 +17,7 @@ public void ReturnFalseIfUrlIsNullOrEmpty(string input)
[Theory]
[InlineData(null)]
[InlineData("")]
public void ReturnFalseIfBaseUrlIsNullOrEmpty(string input)
public void ReturnFalseIfBaseUrlIsNullOrEmpty(string? input)
{
var result = "uri".IsExternalUri(input);

Expand Down Expand Up @@ -79,4 +79,4 @@ public void ReturnTrueIfAbsoluteUriAnotherBase()
.Should()
.BeTrue();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public sealed class MarkdownComponentShould : MarkdownComponentTestsBase
[InlineData(null)]
[InlineData("")]
[InlineData(" ")]
public void RenderNothingIfNullOrWhitespace(string value)
public void RenderNothingIfNullOrWhitespace(string? value)
{
using var fixture = CreateFixture(value);
fixture.MarkupMatches(string.Empty);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ public abstract class MarkdownComponentTestsBase : ComponentTestsBase
protected string Uri { get; set; } = string.Empty;

protected IRenderedComponent<MudMarkdown> CreateFixture(
string value,
string? value,
Optional<ICommand?> command = default, Optional<int?> tableCellMinWidth = default,
Optional<Func<LinkInline, string?>?> overrideLinkUrl = default, Optional<Func<Typo, Typo>?> overrideHeaderTypo = default,
Optional<MudMarkdownStyling> styling = default, Optional<MarkdownPipeline?> markdownPipeline = default)
{
MockNavigationManager.Initialize(Uri);

return Ctx.RenderComponent<MudMarkdown>(@params =>
@params.Add(static x => x.Value, value)
@params.Add(static x => x.Value, value!)
.TryAdd(static x => x.LinkCommand, command)
.TryAdd(static x => x.TableCellMinWidth, tableCellMinWidth)
.TryAdd(static x => x.OverrideLinkUrl, overrideLinkUrl)
Expand Down
Loading