Fix indented code blocks to fenced in new /web/testing/umd doc file
This was causing syntax errors upon loading the web interface and sending the initial build request to Ford. This commit appears to fix that.
For future `.umd` authors, see the `/web/unmark/doc/umd` file for Urbit-flavored markdown syntax.
@@ -9,28 +9,34 @@ shape can go in `%/tests` and then are exposed to a system wide test runner.
Say you put a test suite in `%/tests/new-hoon/thr.hoon`:
+```
> +ls %/tests
new-hoon/
> +ls %/tests/new-hoon
ls/hoon mp/hoon myb/hoon thr/hoon
+```
You can then just run that individual test suite (and not the ones that are beside it in the `%/tests/new-hoon` directory) with:
+```
> +tests /new-hoon/thr
/new-hoon/thr/test-seconds OK
/new-hoon/thr/test-partition OK
/new-hoon/thr/test-firsts OK
/new-hoon/thr/test-apply OK
+```
## The test file
So what is the structure of these test files? They contain a door, with arms starting with `++test-` or `++check-`. At minimum:
+```
/+ tester
|_ tester-type:tester
++ test-some-test
(expect-eq 4 4 "trivial")
--
+```
All of the utilities you need to write tests are in the tester library. Also, like other hoon files, you can stack cores for models and utility functions with only the final core being inspected for test arms.
