fix docs on test-group

This commit is contained in:
Alex Shinn 2021-04-16 10:10:18 +09:00
parent af43c3214f
commit d64f159608

View file

@ -204,10 +204,14 @@
;;> \section{Test Groups} ;;> \section{Test Groups}
;;> Tests can be collected in groups for ;;> Tests can be collected in groups for separate reporting, filtering
;;> and for catching exceptions outside of a test case.
;;> Wraps \var{body} as a single test group, which can be filtered ;;> Wraps \var{body} as a single test group, which can be filtered and
;;> and summarized separately. ;;> summarized separately. The \var{body} is arbitrary Scheme code,
;;> and tests run within its dynamic extent will be associated with
;;> the group. If an uncaught exception is raised outside of a test
;;> case, it will cause the whole group to fail with an error status.
;;> \example{ ;;> \example{
;;> (test-group "pi" ;;> (test-group "pi"