Skip to content

Commit 5ac78f9

Browse files
adding comment to explain the assetion already witten to test when there is no leading zeros
1 parent 93705d4 commit 5ac78f9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Sprint-2/5-stretch-extend/format-time.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ console.assert(
4343
currentOutput4 === targetOutput4,
4444
`current output: ${currentOutput4}, target output: ${targetOutput4}`
4545
);
46+
// Testing for leading zeros
4647

4748
const currentOutput5 = formatAs12HourClock("13:00");
4849
const targetOutput5 = "01:00 pm";

0 commit comments

Comments
 (0)