Resolving merge conflicts

This commit is contained in:
BDisp
2025-11-12 17:20:23 +00:00
2 changed files with 16 additions and 1 deletions

View File

@@ -70,6 +70,21 @@ public class StringTests
Assert.Equal (0, str.GetColumns ());
}
[Theory]
[InlineData (null)]
[InlineData ("")]
public void TestGetColumns_Does_Not_Throws_With_Null_And_Empty_String (string? text)
{
if (text is null)
{
Assert.Equal (0, StringExtensions.GetColumns (text!));
}
else
{
Assert.Equal (0, text.GetColumns ());
}
}
public class ReadOnlySpanExtensionsTests
{
[Theory]