Skip to content

Commit 6c21f7f

Browse files
committed
Fix broken collecting of default answer
1 parent 55f111f commit 6c21f7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tck-build-logic/src/main/java/org/graalvm/internal/tck/utils/InteractiveTaskUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static boolean askYesNoQuestion(String question, String helpMessage, bool
2929
while (true) {
3030
printQuestion(question);
3131

32-
String answer = scanner.next();
32+
String answer = scanner.nextLine();
3333
if (answer.equalsIgnoreCase("help")) {
3434
printHelpMessage(helpMessage);
3535
continue;

0 commit comments

Comments
 (0)