doc: fix typo in writing-test.md · nodejs/node@6f81b27

Original file line numberDiff line numberDiff line change

@@ -24,7 +24,7 @@ See [directory structure overview][] for outline of existing test and locations.

2424
2525

## How to write a good test

2626
27-

A good test should be written in a style that is optimial for debugging

27+

A good test should be written in a style that is optimal for debugging

2828

when it fails.

2929
3030

In principle, when adding a new test, it should be placed in a new file.