diff --git a/src/DiffEngineTray.Tests/MenuBuilderTest.cs b/src/DiffEngineTray.Tests/MenuBuilderTest.cs index 98c7dd05..fdfc76be 100644 --- a/src/DiffEngineTray.Tests/MenuBuilderTest.cs +++ b/src/DiffEngineTray.Tests/MenuBuilderTest.cs @@ -8,11 +8,14 @@ public class MenuBuilderTest : public async Task Empty() { await using var tracker = new RecordingTracker(); - var menu = MenuBuilder.Build(() => - { - }, () => - { - }, tracker); + var menu = MenuBuilder.Build( + () => + { + }, + () => + { + }, + tracker); await Verify(menu, settings); } @@ -21,11 +24,14 @@ public async Task OnlyMove() { await using var tracker = new RecordingTracker(); tracker.AddMove(file2, file2, "theExe", "theArguments", true, null); - var menu = MenuBuilder.Build(() => - { - }, () => - { - }, tracker); + var menu = MenuBuilder.Build( + () => + { + }, + () => + { + }, + tracker); await Verify(menu, settings); } @@ -34,11 +40,14 @@ public async Task OnlyDelete() { await using var tracker = new RecordingTracker(); tracker.AddDelete(file1); - var menu = MenuBuilder.Build(() => - { - }, () => - { - }, tracker); + var menu = MenuBuilder.Build( + () => + { + }, + () => + { + }, + tracker); await Verify(menu, settings); } @@ -50,11 +59,14 @@ public async Task Full() tracker.AddDelete(file2); tracker.AddMove(file3, file3, "theExe", "theArguments", true, null); tracker.AddMove(file4, file4, "theExe", "theArguments", true, null); - var menu = MenuBuilder.Build(() => - { - }, () => - { - }, tracker); + var menu = MenuBuilder.Build( + () => + { + }, + () => + { + }, + tracker); await Verify(menu, settings); } @@ -67,11 +79,14 @@ public async Task Many() tracker.AddDelete(file); } - var menu = MenuBuilder.Build(() => - { - }, () => - { - }, tracker); + var menu = MenuBuilder.Build( + () => + { + }, + () => + { + }, + tracker); await Verify(menu, settings); } @@ -81,11 +96,14 @@ public async Task Grouped() await using var tracker = new RecordingTracker(); tracker.AddDelete("file2.txt"); tracker.AddMove(file4, "file4.txt", "theExe", "theArguments", true, null); - var menu = MenuBuilder.Build(() => - { - }, () => - { - }, tracker); + var menu = MenuBuilder.Build( + () => + { + }, + () => + { + }, + tracker); await Verify(menu, settings); } @@ -97,11 +115,14 @@ public async Task FullGrouped() tracker.AddDelete("file2.txt"); tracker.AddMove(file3, file3, "theExe", "theArguments", true, null); tracker.AddMove(file4, "file4.txt", "theExe", "theArguments", true, null); - var menu = MenuBuilder.Build(() => - { - }, () => - { - }, tracker); + var menu = MenuBuilder.Build( + () => + { + }, + () => + { + }, + tracker); await Verify(menu, settings); }