Skip to content

Commit

Permalink
Merge pull request #377 from CodeYourFuture/hotfix/js1-3
Browse files Browse the repository at this point in the history
js1-3 formatting fail
  • Loading branch information
SallyMcGrath authored Nov 17, 2023
2 parents 64f6665 + a1c3be6 commit ded4e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/js1/blocks/assertions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ So far we’ve only created assertions that check the function’s behaviour for

Now we need to assert that the function behaves correctly when the time is later than midday. Let’s create an assertion for our function when passed an input of `"23:00"`:

```js {linenos=table,linenostart=1,hl_lines=["15-21"]}
```js {linenos=table,linenostart=1}
function formatAs12HourClock(time) {
return `${time} am`;
}
Expand Down

0 comments on commit ded4e54

Please sign in to comment.