Update module github.com/approvals/go-approval-tests to v1.8.0 #24
+3
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.2.0→v1.8.0Release Notes
approvals/go-approval-tests (github.com/approvals/go-approval-tests)
v1.8.0: Use codegen for reportersCompare Source
Full Changelog: approvals/go-approval-tests@v1.7.0...v1.8.0
Moves to using the shared reporter configurations in https://github.com/approvals/DiffTools to generate reporters (using
scripts/generate_diff_reporter.py) so we can have consistency in approvals across all supported languages. Add support for several new reporters in the process, see the csv file in DiffToolsv1.7.0: - VerifyOptions is public.Compare Source
Full Changelog: approvals/go-approval-tests@v1.6.2...v1.7.0
v1.6.2: - Fix directory name issueCompare Source
Fixes issue with module verification noted in #65
v1.6.1: - AddDateScrubber and ConsoleOutputCompare Source
Added the ability to include your own custom date scrubbers and tools for testing console output as well as a convenience function for errors.
v1.6.0: Breaking Change - Ensure Approve Files end with a newlineCompare Source
v1.6.0 - This is a breaking change
Most, if not all, of your approved files will fail after upgrading to this version.
This is because approval files now expect to have a newline (
\n) at the end of the file.Upgrade Path
We suggest:
go-approval-testsv1.5.1: Fix missing directory errorCompare Source
fixes #49
v1.5.0: Options().ForFile().WithAdditionalInformation(value)Compare Source
This allows multiple approved files per test.
More info here
v1.4.0: remove_abandoned_files.py scriptCompare Source
Full Changelog: approvals/go-approval-tests@v1.3.0...v1.4.0
v1.3.0: Failed comparison log and approve_all script.Compare Source
Full Changelog: approvals/go-approval-tests@v1.2.1...v1.3.0
v1.2.1: Temp directory includes a .gitignoreCompare Source
Took away the need to change your .gitignore because of the temp directory
Full Changelog: approvals/go-approval-tests@v1.2.0...v1.2.1
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.