diff --git a/bots/pr/src/main/java/org/openjdk/skara/bots/pr/IntegrateCommand.java b/bots/pr/src/main/java/org/openjdk/skara/bots/pr/IntegrateCommand.java index b3ea44390..38b633986 100644 --- a/bots/pr/src/main/java/org/openjdk/skara/bots/pr/IntegrateCommand.java +++ b/bots/pr/src/main/java/org/openjdk/skara/bots/pr/IntegrateCommand.java @@ -122,7 +122,7 @@ public void handle(PullRequestBot bot, PullRequest pr, CensusInstance censusInst reply.println(ReadyForSponsorTracker.addIntegrationMarker(pr.headHash())); reply.println("Your change (at version " + pr.headHash() + ") is now ready to be sponsored by a Committer."); if (!args.isBlank()) { - reply.println("Note that your sponsor will make the final decision on which target hash to integrate onto."); + reply.println("Note that your sponsor will make the final decision onto which target hash to integrate."); } pr.addLabel("sponsor"); return; diff --git a/bots/pr/src/test/java/org/openjdk/skara/bots/pr/SponsorTests.java b/bots/pr/src/test/java/org/openjdk/skara/bots/pr/SponsorTests.java index 5dbd3a9d8..58fc7620a 100644 --- a/bots/pr/src/test/java/org/openjdk/skara/bots/pr/SponsorTests.java +++ b/bots/pr/src/test/java/org/openjdk/skara/bots/pr/SponsorTests.java @@ -438,7 +438,7 @@ void noAutoRebase(TestInfo testInfo) throws IOException { TestBotRunner.runPeriodicItems(mergeBot); // The bot should reply that a sponsor is required - assertLastCommentContains(pr, "your sponsor will make the final decision on which target hash"); + assertLastCommentContains(pr, "your sponsor will make the final decision onto which target hash to integrate"); // Push more unrelated things Files.writeString(unrelated, "Hello again");