Skip to content

Commit 964aa75

Browse files
Fix tests
1 parent 7e18fd6 commit 964aa75

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Stravaig.ShortCode.Tests/ShortCodeOptionsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void SetCharacterSpace_InvalidValues_ThrowsException(string value)
2929
new ShortCodeOptions()
3030
{
3131
CharacterSpace = value,
32-
}).ParamName.ShouldBe("CharacterSpace");
32+
}).ParamName.ShouldBe("CharacterSpace", StringCompareShould.IgnoreCase);
3333
}
3434

3535
[Test]

src/Stravaig.ShortCode/Internal/StringExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ internal static class StringExtensions
66
{
77
private const int CharacterSpaceMinLength = 2;
88

9+
// ReSharper disable once ParameterOnlyUsedForPreconditionCheck.Global
910
internal static void ValidateCharacterSpace(this string characterSpace)
1011
{
1112
if (string.IsNullOrWhiteSpace(characterSpace))

0 commit comments

Comments
 (0)