From f3705d1522b948301e6a23887dd3db6c6850ff9c Mon Sep 17 00:00:00 2001 From: Alexander Schwartz Date: Fri, 5 Jan 2024 12:47:36 +0100 Subject: [PATCH] Fix wording in the comment, avoiding the word "flaky" twice (#33) Signed-off-by: Alexander Schwartz --- src/main/java/org/keycloak/gh/bot/ReportFlakyTests.java | 2 +- .../resources/org/keycloak/gh/bot/flaky-test-pull-request-body | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/keycloak/gh/bot/ReportFlakyTests.java b/src/main/java/org/keycloak/gh/bot/ReportFlakyTests.java index 84dd1c3..0daecfe 100644 --- a/src/main/java/org/keycloak/gh/bot/ReportFlakyTests.java +++ b/src/main/java/org/keycloak/gh/bot/ReportFlakyTests.java @@ -186,7 +186,7 @@ public String getPullRequestReviewBody(List flakyTests, URL repositor StringBuilder body = new StringBuilder(); body.append("## Unreported flaky test detected\n"); - body.append("If the below flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR.\n\n"); + body.append("If the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR.\n\n"); for (FlakyTest flakyTest : flakyTests) { body.append("### "); diff --git a/src/test/resources/org/keycloak/gh/bot/flaky-test-pull-request-body b/src/test/resources/org/keycloak/gh/bot/flaky-test-pull-request-body index c31247b..f689a3a 100644 --- a/src/test/resources/org/keycloak/gh/bot/flaky-test-pull-request-body +++ b/src/test/resources/org/keycloak/gh/bot/flaky-test-pull-request-body @@ -1,5 +1,5 @@ ## Unreported flaky test detected -If the below flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. +If the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. ### my.package.MyClass#myTest