File tree Expand file tree Collapse file tree 1 file changed +34
-23
lines changed
exercises/split-second-stopwatch Expand file tree Collapse file tree 1 file changed +34
-23
lines changed Original file line number Diff line number Diff line change 214214 },
215215 "expected" : {}
216216 },
217- {
218- "uuid" : " e585ee15-3b3f-4785-976b-dd96e7cc978b" ,
219- "description" : " stop does not change previous laps" ,
220- "property" : " time" ,
221- "input" : {
222- "commands" : [
223- {
224- "command" : " new"
225- },
226- {
227- "command" : " start"
228- },
229- {
230- "command" : " stop"
231- },
232- {
233- "command" : " previousLaps" ,
234- "expected" : []
235- }
236- ]
237- },
238- "expected" : {}
239- },
240217 {
241218 "uuid" : " 621eac4c-8f43-4d99-919c-4cad776d93df" ,
242219 "description" : " stop pauses time tracking for current lap" ,
593570 },
594571 "expected" : {}
595572 },
573+ {
574+ "uuid" : " e585ee15-3b3f-4785-976b-dd96e7cc978b" ,
575+ "description" : " stop does not change previous laps" ,
576+ "property" : " time" ,
577+ "input" : {
578+ "commands" : [
579+ {
580+ "command" : " new"
581+ },
582+ {
583+ "command" : " start"
584+ },
585+ {
586+ "command" : " advanceTime" ,
587+ "by" : " 00:11:22"
588+ },
589+ {
590+ "command" : " lap"
591+ },
592+ {
593+ "command" : " previousLaps" ,
594+ "expected" : [" 00:11:22" ]
595+ },
596+ {
597+ "command" : " stop"
598+ },
599+ {
600+ "command" : " previousLaps" ,
601+ "expected" : [" 00:11:22" ]
602+ }
603+ ]
604+ },
605+ "expected" : {}
606+ },
596607 {
597608 "uuid" : " fc3645e2-86cf-4d11-97c6-489f031103f6" ,
598609 "description" : " reset from stopped state changes state to ready" ,
You can’t perform that action at this time.
0 commit comments