Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
testing a patch - it seems likely the highlight lines is wrong?
  • Loading branch information
SallyMcGrath authored Nov 17, 2023
1 parent 64f6665 commit a1c3be6
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 a1c3be6

Please sign in to comment.