Skip to content

Commit

Permalink
tests: update snapshots
Browse files Browse the repository at this point in the history
Signed-off-by: simonsan <[email protected]>
  • Loading branch information
simonsan committed Oct 26, 2024
1 parent 5038925 commit e5c9aa1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/core/tests/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fn error() -> Box<RusticError> {
)
.attach_status(Status::Permanent)
.attach_severity(Severity::Error)
.attach_error_code("E001")
.attach_error_code("C001")
.attach_context("path", "/path/to/file")
.attach_context("called", "used s3 backend")
.attach_source(std::io::Error::new(
Expand Down
2 changes: 1 addition & 1 deletion crates/core/tests/snapshots/errors__error_debug.snap
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RusticError {
],
docs_url: None,
error_code: Some(
"E001",
"C001",
),
new_issue_url: None,
existing_issue_url: None,
Expand Down
2 changes: 1 addition & 1 deletion crates/core/tests/snapshots/errors__error_display.snap
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Severity: Error

Status: Permanent

For more information, see: https://rustic.cli.rs/docs/errors/E001
For more information, see: https://rustic.cli.rs/docs/errors/C001

If you think this is an undiscovered bug, please open an issue at: https://github.com/rustic-rs/rustic_core/issues/new

Expand Down

0 comments on commit e5c9aa1

Please sign in to comment.