Skip to content

Commit 4f12388

Browse files
committed
cleanup
1 parent 48e136e commit 4f12388

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/LoreSoft.Blazor.Controls/Utilities/Messenger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Collections.Concurrent;
22

3-
namespace LoreSoft.Blazor.Controls.Utilities;
3+
namespace LoreSoft.Blazor.Controls;
44

55
/// <summary>
66
/// A lightweight in-process message service that uses weak references to prevent memory leaks.

test/LoreSoft.Blazor.Controls.Tests/IdentifierTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ public void Random_MultipleInvocations_ReturnsDifferentIds()
5454
[InlineData(null)]
5555
[InlineData("")]
5656
[InlineData(" ")]
57-
public void Random_NullOrWhiteSpacePrefix_ThrowsArgumentException(string prefix)
57+
public void Random_NullOrWhiteSpacePrefix_ThrowsArgumentException(string? prefix)
5858
{
5959
// Act & Assert
60-
Assert.ThrowsAny<ArgumentException>(() => Identifier.Random(prefix));
60+
Assert.ThrowsAny<ArgumentException>(() => Identifier.Random(prefix!));
6161
}
6262

6363
[Fact]
@@ -113,10 +113,10 @@ public void Sequential_MultipleInvocations_ReturnsSequentialIds()
113113
[InlineData(null)]
114114
[InlineData("")]
115115
[InlineData(" ")]
116-
public void Sequential_NullOrWhiteSpacePrefix_ThrowsArgumentException(string prefix)
116+
public void Sequential_NullOrWhiteSpacePrefix_ThrowsArgumentException(string? prefix)
117117
{
118118
// Act & Assert
119-
Assert.ThrowsAny<ArgumentException>(() => Identifier.Sequential(prefix));
119+
Assert.ThrowsAny<ArgumentException>(() => Identifier.Sequential(prefix!));
120120
}
121121

122122
[Fact]

0 commit comments

Comments
 (0)