`insta` (https://docs.rs/insta/) is a library for doing snapshot tests. Might be nicer than my hand-made bash and diff monstrosity.