mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 17:57:57 +01:00
Resolving merge conflicts
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user