Skip to content

Commit

Permalink
test: Update release snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Oct 8, 2024
1 parent 84e95dd commit b4ec81f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 17 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
run: cargo test --workspace --no-run
- name: Test
run: cargo hack test --feature-powerset --exclude-features nightly --workspace
- name: Test Release
run: cargo test --workspace --release
msrv:
name: "Check MSRV"
runs-on: ubuntu-latest
Expand Down
21 changes: 11 additions & 10 deletions tests/custom-panic/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,24 @@ fn release() {
snapbox::cmd::Command::new(snapbox::cmd::cargo_bin!("custom-panic-test"))
.assert()
.stderr_eq(snapbox::str![[r#"
Well, this is embarrassing.
Well, this is embarrassing.
custom-panic-test had a problem and crashed. To help us diagnose the problem you can send us a crash report.
custom-panic-test had a problem and crashed. To help us diagnose the problem you can send us a crash report.
We have generated a report file at "[..].toml". Submit an issue or email with the subject of "custom-panic-test Crash Report" and include the report as an attachment.
We have generated a report file at "[..].toml". Submit an issue or email with the subject of "custom-panic-test Crash Report" and include the report as an attachment.
- Homepage: www.mycompany.com
- Authors: My Company Support <[email protected]
- Homepage: www.mycompany.com
- Authors: My Company Support <[email protected]
To submit the crash report:
To submit the crash report:
- Open a support request by email to [email protected]
- Open a support request by email to [email protected]
We take privacy seriously, and do not perform any automated error collection. In order to improve the software, we rely on people to submit reports.
We take privacy seriously, and do not perform any automated error collection. In order to improve the software, we rely on people to submit reports.
Thank you kindly!
"#]])
Thank you kindly!
"#]])
.code(101);
}

Expand Down
15 changes: 8 additions & 7 deletions tests/single-panic/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@ fn release() {
snapbox::cmd::Command::new(snapbox::cmd::cargo_bin!("single-panic-test"))
.assert()
.stderr_eq(snapbox::str![[r#"
Well, this is embarrassing.
Well, this is embarrassing.
single-panic-test had a problem and crashed. To help us diagnose the problem you can send us a crash report.
single-panic-test had a problem and crashed. To help us diagnose the problem you can send us a crash report.
We have generated a report file at "[..].toml". Submit an issue or email with the subject of "single-panic-test Crash Report" and include the report as an attachment.
We have generated a report file at "[..].toml". Submit an issue or email with the subject of "single-panic-test Crash Report" and include the report as an attachment.
- Authors: Human Panic Authors <[email protected]>
- Authors: Human Panic Authors <[email protected]>
We take privacy seriously, and do not perform any automated error collection. In order to improve the software, we rely on people to submit reports.
We take privacy seriously, and do not perform any automated error collection. In order to improve the software, we rely on people to submit reports.
Thank you kindly!
"#]])
Thank you kindly!
"#]])
.code(101);
}

Expand Down

0 comments on commit b4ec81f

Please sign in to comment.