hurdy-gurdy
hurdy-gurdy copied to clipboard
Bump com.approvaltests:approvaltests from 22.3.3 to 24.1.0
Bumps com.approvaltests:approvaltests from 22.3.3 to 24.1.0.
Release notes
Sourced from com.approvaltests:approvaltests's releases.
Options.addReporter(reporter)
You can call
addReporter(reporter)onOptionsand it will open both/all reporters on test failure.InlineOptions
BREAKING CHANGE
verify(result, options=Options().inline(expected, showCode=false)) verify(result, options=Options().inline(expected, showCode=true))is now
verify(result, options=Options().inline(expected, InlineOptions.showCode(false))) verify(result, options=Options().inline(expected))New Features
You can now do
InlineOptions.automatic()andInlineOptions.semiAutomatic().ParseInput with 3 parameters
Added ParseInput with 3 parameters and allows arrays as last argument for ParseInput with 2 and 3 Parameters. To understand this you might want to have a look at the python documentation.
23.0.1
Fixes
Fixed a bug where long header threw an exception
New
StringUtils.repeat(text, times);Minor bugs with InlineApprovals + changes to StringUtils.split
This is mainly fixes to InlineApprovals. But it does contain breaking changes for StringUtils.split().
Breaking changes
StringUtils.split(String, String) no longer trims by default. To maintain previous behavior, call StringUtils.split(String, String, true). StringUtils.split() now takes a regex as the pattern instead of a simple string.
ParseInputs
You can now write tests like
@Test void testWithTypesTransformersAndBoth() { var expected = """ 1 -> 1 9 -> 1001 """; </tr></table>
... (truncated)
Commits
892c2b1- F rename method, same as in python9a45919. d updated markdown snippets7399174- F Options.addReporter(reporter)b336f9fa reformat codeb95b228. d Added snippet for fake data9809e10Bump org.apache.camel:camel-xstream from 3.22.0 to 3.22.2f90d80dBump com.fasterxml.jackson.core:jackson-databind from 2.17.0 to 2.17.12124ba0Bump com.fasterxml.jackson.core:jackson-annotationsa374344Bump com.fasterxml.jackson.core:jackson-core from 2.17.0 to 2.17.11dfca38v 24.0.0- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)