We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8abdb7f commit 2ada6f7Copy full SHA for 2ada6f7
FluentCommandLineParser.Tests/Internals/TestContextBase.cs
@@ -118,7 +118,8 @@ protected static List<TType> CreateManyAsList<TType>(params TType[] additionalIt
118
119
protected static string CreateStringOfLength(int length)
120
{
121
- return new string(Create<char>(), length);
+ var str = Create<string>();
122
+ return new string(str.Take(length).ToArray());
123
}
124
125
0 commit comments