Skip to content

Commit 92f9e3a

Browse files
committed
chore: remove obsolete comments in MustBeFileExtensionTests.cs
Signed-off-by: Kenny Pflug <kenny.pflug@live.de>
1 parent 9721ef4 commit 92f9e3a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Code/Light.GuardClauses.Tests/StringAssertions/MustBeFileExtensionTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,12 @@ public static void CustomExceptionInvalidFileExtensions_Span(string invalidStrin
126126
[Fact]
127127
public static void CallerArgumentExpression_Span()
128128
{
129-
// Act & Assert
130129
var act = () =>
131130
{
132131
var invalidSpan = "txt".AsSpan();
133132
invalidSpan.MustBeFileExtension();
134133
};
135134

136-
// Should throw with parameter name matching the variable name
137135
act.Should().Throw<StringException>()
138136
.WithParameterName("invalidSpan");
139137
}

0 commit comments

Comments
 (0)