From b4ec81f2c4c84e8c0d3502d08ac0a72a61ed31f0 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 7 Oct 2024 21:20:00 -0500 Subject: [PATCH] test: Update release snapshots --- .github/workflows/ci.yml | 2 ++ tests/custom-panic/tests/integration.rs | 21 +++++++++++---------- tests/single-panic/tests/integration.rs | 15 ++++++++------- 3 files changed, 21 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86a3088..fc51ef8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/tests/custom-panic/tests/integration.rs b/tests/custom-panic/tests/integration.rs index d1264c8..e8787dd 100644 --- a/tests/custom-panic/tests/integration.rs +++ b/tests/custom-panic/tests/integration.rs @@ -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 +- Authors: Human Panic Authors - 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); }