Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Dec 6, 2023
1 parent dcc4a68 commit 33e9db0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/Tests/IndexWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

[ModuleInitializer]
public static void Init() =>
files = AllFiles.Files.OrderBy(_ => _.Key).ToList();
files = AllFiles
.Files.OrderBy(_ => _.Key)
.ToList();

[Test]
public void CreateIndex() =>
Expand Down
4 changes: 3 additions & 1 deletion src/Tests/SolutionDirectoryFinder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ public static bool TryFind(string testDirectory, [NotNullWhen(true)] out string?
var currentDirectory = testDirectory;
do
{
if (Directory.GetFiles(currentDirectory, "*.sln").Any())
if (Directory
.GetFiles(currentDirectory, "*.sln")
.Any())
{
path = currentDirectory;
return true;
Expand Down

0 comments on commit 33e9db0

Please sign in to comment.