From faf69927f5cd0da712e234164b7dd484703737b2 Mon Sep 17 00:00:00 2001 From: futrime Date: Thu, 9 Jan 2025 21:07:33 +0800 Subject: [PATCH] style: format all --- Lip.Tests/Lip.InitTests.cs | 6 +++--- Lip/IUserInteraction.cs | 2 +- Lip/Lip.cs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Lip.Tests/Lip.InitTests.cs b/Lip.Tests/Lip.InitTests.cs index feb9e97..492a8ac 100644 --- a/Lip.Tests/Lip.InitTests.cs +++ b/Lip.Tests/Lip.InitTests.cs @@ -185,7 +185,7 @@ public async Task Init_OperationCanceled_ThrowsOperationCanceledException() Mock userInteraction = new(); userInteraction.Setup(u => u.ConfirmAsync("Do you want to create the following package manifest file?\n{jsonString}", It.IsAny()).Result) .Returns(false); - + Lip lip = new(new(), fileSystem, logger.Object, userInteraction.Object); Lip.InitArgs args = new() @@ -217,7 +217,7 @@ public async Task Init_ManifestFileExists_ThrowsInvalidOperationException() Mock userInteraction = new(); userInteraction.Setup(u => u.ConfirmAsync("Do you want to create the following package manifest file?\n{jsonString}", It.IsAny()).Result) .Returns(false); - + Lip lip = new(new(), fileSystem, logger.Object, userInteraction.Object); Lip.InitArgs args = new() @@ -249,7 +249,7 @@ public async Task Init_ForcesOverwriteManifestFile_Passes() Mock userInteraction = new(); userInteraction.Setup(u => u.ConfirmAsync("Do you want to create the following package manifest file?\n{jsonString}", It.IsAny()).Result) .Returns(false); - + Lip lip = new(new(), fileSystem, logger.Object, userInteraction.Object); Lip.InitArgs args = new() diff --git a/Lip/IUserInteraction.cs b/Lip/IUserInteraction.cs index 6de1e8f..511a439 100644 --- a/Lip/IUserInteraction.cs +++ b/Lip/IUserInteraction.cs @@ -1,4 +1,4 @@ -namespace Lip; +namespace Lip; /// /// Represents a user interaction interface. diff --git a/Lip/Lip.cs b/Lip/Lip.cs index fe6924f..e35e98e 100644 --- a/Lip/Lip.cs +++ b/Lip/Lip.cs @@ -1,5 +1,5 @@ -using Microsoft.Extensions.Logging; -using System.IO.Abstractions; +using System.IO.Abstractions; +using Microsoft.Extensions.Logging; namespace Lip;