Skip to content

Commit 3a0803d

Browse files
Merge pull request nus-cs2113-AY2324S1#31 from wendelinwemhoener/master
Get IO test to pass
2 parents 0c057fa + da87107 commit 3a0803d

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

src/main/java/seedu/duke/Duke.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static void main(String[] args) {
1515
}
1616

1717
private void runCalendar() {
18-
System.out.print("Enter your command: ");
18+
System.out.println("Enter your command: ");
1919

2020
CalendarManager manager = new CalendarManager();
2121

@@ -69,7 +69,7 @@ private void run() {
6969
String flashcardOrCalendar;
7070
Scanner scanner = new Scanner(System.in);
7171

72-
System.out.print("Do you choose flashcard or calendar? ");
72+
System.out.println("Do you choose flashcard or calendar? ");
7373
flashcardOrCalendar = scanner.nextLine();
7474

7575
if (flashcardOrCalendar.equals("flashcard")) {

text-ui-test/ACTUAL.TXT

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Do you choose flashcard or calendar?
2+
Enter your command:

text-ui-test/EXPECTED-UNIX.TXT

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Do you choose flashcard or calendar?
2+
Enter your command:

text-ui-test/EXPECTED.TXT

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Enter your command:
1+
Do you choose flashcard or calendar?
2+
Enter your command:

0 commit comments

Comments
 (0)