This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
Use 'golden' files pattern instead of hardcoding test output #204
Closed
Description
A bunch of our tests contain hardcoded output that we match against. This is OK for simple cases, but we've got fairly complex outputs to test, so it'd be much better to separate them out.
Let's follow the basic pattern of "golden files" used in stdlib - keep the output in a pre-named file that's committed, and have a flag we can use to update that file's output when needed.