mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
Formatting
This commit is contained in:
@@ -8,10 +8,15 @@ namespace CliFx.Tests.Utils.Extensions;
|
||||
|
||||
internal static class AssertionExtensions
|
||||
{
|
||||
public static void ConsistOfLines(this StringAssertions assertions, IEnumerable<string> lines) =>
|
||||
public static void ConsistOfLines(
|
||||
this StringAssertions assertions,
|
||||
IEnumerable<string> lines
|
||||
) =>
|
||||
assertions
|
||||
.Subject
|
||||
.Split(new[] { '\n', '\r' }, StringSplitOptions.RemoveEmptyEntries).Should().Equal(lines);
|
||||
.Split(new[] { '\n', '\r' }, StringSplitOptions.RemoveEmptyEntries)
|
||||
.Should()
|
||||
.Equal(lines);
|
||||
|
||||
public static void ConsistOfLines(this StringAssertions assertions, params string[] lines) =>
|
||||
assertions.ConsistOfLines((IEnumerable<string>)lines);
|
||||
|
||||
@@ -74,7 +74,9 @@ public class CliApplication
|
||||
{
|
||||
_console
|
||||
.Output
|
||||
.WriteLine($"Attach the debugger to process with ID {ProcessEx.GetCurrentProcessId()} to continue.");
|
||||
.WriteLine(
|
||||
$"Attach the debugger to process with ID {ProcessEx.GetCurrentProcessId()} to continue."
|
||||
);
|
||||
}
|
||||
|
||||
// Try to also launch the debugger ourselves (only works with Visual Studio)
|
||||
|
||||
Reference in New Issue
Block a user