Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests using testdata input files
- add collection of testdata files - `input` - `encoded-all` - `encoded-mixed` - `invalid-all` - `invalid-mixed` - `output` - `embedded` - `standalone` - add "exported" tests which focus strictly on exported functionality of the `internal/safelinks` package - add minor dependency on the `google/go-cmp` package for some tests - add brief README for testdata content to explain purpose, important of preserving the exact formatting (mostly specific EOL) within the input and output testdata files refs GH-251
- Loading branch information