In the last section under Test Helpers, it looks like there is a typo.
Workers in River are plain old Go structs, and no special testing utilities are provided for them. They're testable by initializing a work, invoking its Work function, and checking against the results:
In the last section under Test Helpers, it looks like there is a typo.