Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
markdown: refactor tests to use input/golden files (shurcooL#45)
Refactor the test cases into input/golden files to make it easier to view and modify them. New test cases can now be defined by adding a pair of files inside the testdata directory: an input file (*.in.md) and a corresponding golden file (*.golden.md). Add an -update flag that writes current output to *.golden.md files.
- Loading branch information