Skip to content

Commit 9268fdc

Browse files
committed
refactor: Made additional types internal
1 parent 15b5ab0 commit 9268fdc

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/bunit/Diffing/BlazorDiffingHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Bunit.Diffing;
77
/// <summary>
88
/// Blazor Diffing Helpers.
99
/// </summary>
10-
public static class BlazorDiffingHelpers
10+
internal static class BlazorDiffingHelpers
1111
{
1212
/// <summary>
1313
/// Represents a diffing filter that removes all special Blazor attributes added by the /<see cref="Htmlizer"/>.

src/bunit/Diffing/HtmlComparer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Bunit.Diffing;
1010
/// <summary>
1111
/// Represents a test HTML comparer, that is configured to work with markup generated by the <see cref="BunitRenderer"/> and <see cref="Htmlizer"/> classes.
1212
/// </summary>
13-
public sealed class HtmlComparer
13+
internal sealed class HtmlComparer
1414
{
1515
private readonly HtmlDiffer differenceEngine;
1616

src/bunit/Extensions/BlazorExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ namespace Bunit.Extensions;
33
/// <summary>
44
/// Extensions for Blazor types.
55
/// </summary>
6-
public static class BlazorExtensions
6+
internal static class BlazorExtensions
77
{
88
/// <summary>
99
/// Creates a <see cref="RenderFragment"/> that will render the <paramref name="markup"/>.

src/bunit/Extensions/BunitServiceProviderExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Bunit.Extensions;
1212
/// <summary>
1313
/// Helper methods for correctly registering test dependencies.
1414
/// </summary>
15-
public static class BunitServiceProviderExtensions
15+
internal static class BunitServiceProviderExtensions
1616
{
1717
/// <summary>
1818
/// Registers the default services required by the web <see cref="BunitContext"/>.

src/bunit/Rendering/BunitHtmlParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Bunit.Rendering;
1111
/// A AngleSharp based HTML Parse that can parse markup strings
1212
/// into a <see cref="INodeList"/>.
1313
/// </summary>
14-
public sealed class BunitHtmlParser : IDisposable
14+
internal sealed class BunitHtmlParser : IDisposable
1515
{
1616
private const string TbodySubElements = "TR";
1717
private const string ColgroupSubElement = "COL";

0 commit comments

Comments
 (0)