Fixed: assertInlineSnapshot's failure difference now reads more correctly as the patch that would be applied were record mode to be on (pointfreeco/swift-snapshot-testing#809).
Fixed: The swift-syntax dependency has widened to support 508.0.1..<510.0.0, allowing the library to be depended on even when another package depends on 508.0.1 (pointfreeco/swift-snapshot-testing#795).
Added: Inline Snapshot Testing (pointfreeco/swift-snapshot-testing#764). This allows your text-based snapshots to live right in the test source code, rather than in an external file:
Inline snapshot testing is available in a separate InlineSnapshotTesting module. To use inline snapshot testing, add a dependency on this module and update your existing imports:
... (truncated)
Commits
4862d48 Add record mode to inline snapshots (#809)
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/pointfreeco/swift-snapshot-testing from 1.12.0 to 1.15.0.
Release notes
Sourced from github.com/pointfreeco/swift-snapshot-testing's releases.
... (truncated)
Commits
4862d48
Add record mode to inline snapshots (#809)0c5ffc6
Update README.mdbb0ea08
Widen swift-syntax dependency to 508.0.1..<510.0.0 (#795)20ae4ee
Update .spi.yml (#789)e209343
Run swift-formatbbc9ec6
TransformassertCustomInline()
toassertCustomInline { ... }
(#788)b4c58d7
Write to snapshot state before failing (#787)5b356ad
Run swift-format2776788
Avoid additional trailing closure offset crash (#786)c648dca
Update .spi.yml (#785)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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show