Skip to content

Commit

Permalink
Refactor tests to use golden test files (#200)
Browse files Browse the repository at this point in the history
Refactor the unit tests to read the diffs from a file
rather than being stored as a Go string literal.
The advantage of using a golden file is to ease
updating the diffs whenever the reporter output is changed.
  • Loading branch information
dsnet committed May 13, 2020
1 parent 049b73f commit 0c08307
Show file tree
Hide file tree
Showing 2 changed files with 1,754 additions and 1,513 deletions.
Loading

0 comments on commit 0c08307

Please sign in to comment.