Skip to content

Commit c99d8e0

Browse files
stephentoubCopilot
andcommitted
Fix Java spotless format for todos prompt
Eclipse formatter pulls .setPrompt( onto the new MessageOptions() line with the long first segment on its own line. Verified with mvn spotless:check. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 298e72f commit c99d8e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

java/src/test/java/com/github/copilot/SessionTodosChangedTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ void firesSessionTodosChangedAndExposesRowsAndDependencies() throws Exception {
5050
}
5151
});
5252

53-
session.sendAndWait(new MessageOptions()
54-
.setPrompt("Use the sql tool exactly once to execute all three of the following statements together, in this exact order, in a single sql tool call (a single query string containing all three statements):\n"
53+
session.sendAndWait(new MessageOptions().setPrompt(
54+
"Use the sql tool exactly once to execute all three of the following statements together, in this exact order, in a single sql tool call (a single query string containing all three statements):\n"
5555
+ "1. INSERT INTO todos (id, title, status) VALUES ('alpha', 'First todo', 'pending');\n"
5656
+ "2. INSERT INTO todos (id, title, status) VALUES ('beta', 'Second todo', 'done');\n"
5757
+ "3. INSERT INTO todo_deps (todo_id, depends_on) VALUES ('beta', 'alpha');\n"

0 commit comments

Comments
 (0)