Skip to content

Commit 42a7d4e

Browse files
committed
test fix
1 parent 87be0ca commit 42a7d4e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

testlib/src/test/java/com/diffplug/spotless/GitPrePushHookInstallerTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,11 +353,10 @@ public void should_handle_parallel_installation() {
353353
});
354354

355355
// then
356-
assertThat(logs).containsExactlyInAnyOrder(
356+
assertThat(logs).containsOnly(
357357
"Installing git pre-push hook",
358358
"Git pre-push hook not found, creating it",
359359
"Parallel Spotless Git pre-push hook installation detected, skipping installation",
360-
"Parallel Spotless Git pre-push hook installation detected, skipping installation",
361360
"Local gradle wrapper (gradlew) not found, falling back to global command 'gradle'",
362361
"Git pre-push hook installed successfully to the file " + newFile(".git/hooks/pre-push").getAbsolutePath());
363362

0 commit comments

Comments
 (0)