@@ -69,7 +69,7 @@ public void run_validDeadline_success(@TempDir Path tmp) {
6969 String response = gloqi .run ("Deadline Submit assignment /by 2024-09-30 2359" );
7070 String expected = """
7171 Got it. I've added this task:
72- [D][ ] Submit assignment (by: Sep 30 2024 11 pm )
72+ [D][ ] Submit assignment (by: Sep 30 2024 23:59 )
7373 Now you have 1 tasks in the bank.""" ;
7474 assertEquals (expected , response );
7575 }
@@ -80,7 +80,7 @@ public void run_validEvent_success(@TempDir Path tmp) {
8080 String response = gloqi .run ("Event Team meeting /from 2024-10-01 1400 /to 2024-10-01 1500" );
8181 String expected = """
8282 Got it. I've added this task:
83- [E][ ] Team meeting (from: Oct 01 2024 2 pm to: Oct 01 2024 3 pm )
83+ [E][ ] Team meeting (from: Oct 01 2024 14:00 to: Oct 01 2024 15:00 )
8484 Now you have 1 tasks in the bank.""" ;
8585 assertEquals (expected , response );
8686 }
@@ -104,7 +104,7 @@ public void run_validShow_success(@TempDir Path tmp) {
104104 String response = gloqi .run ("show 2024-09-30" );
105105 String expected = """
106106 Tasks found on date: Sep 30 2024
107- 1. [D][ ] Submit assignment (by: Sep 30 2024 11 pm )""" ;
107+ 1. [D][ ] Submit assignment (by: Sep 30 2024 23:59 )""" ;
108108 assertEquals (expected , response );
109109 }
110110
@@ -113,8 +113,7 @@ public void run_validFind_success(@TempDir Path tmp) {
113113 Gloqi gloqi = testFileInistalize (tmp );
114114 gloqi .run ("Deadline Submit assignment /by 2024-09-30 2359" );
115115 String response = gloqi .run ("find assignment" );
116- String expected = """
117- 1. [D][ ] Submit assignment (by: Sep 30 2024 11 pm)""" ;
116+ String expected = "1. [D][ ] Submit assignment (by: Sep 30 2024 23:59)" ;
118117 assertEquals (expected , response );
119118 }
120119
0 commit comments