diff --git a/Cargo.lock b/Cargo.lock index ffa17d1..36e9b65 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -294,9 +294,9 @@ dependencies = [ [[package]] name = "snapbox" -version = "0.5.14" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f37d101fcafc8e73748fd8a1b7048f5979f93d372fd17027d7724c1643bc379b" +checksum = "94204b12a4d3550420babdb4148c6639692e4e3e61060866929c5107f208aeb6" dependencies = [ "anstream", "anstyle", diff --git a/tests/custom-panic/Cargo.toml b/tests/custom-panic/Cargo.toml index 4df4de0..c00b2ac 100644 --- a/tests/custom-panic/Cargo.toml +++ b/tests/custom-panic/Cargo.toml @@ -12,4 +12,4 @@ release = false human-panic = { path = "../.." } [dev-dependencies] -snapbox = { version = "0.5.14", features = ["cmd"] } +snapbox = { version = "0.6.4", features = ["cmd"] } diff --git a/tests/custom-panic/tests/integration.rs b/tests/custom-panic/tests/integration.rs index d1bb061..455c514 100644 --- a/tests/custom-panic/tests/integration.rs +++ b/tests/custom-panic/tests/integration.rs @@ -30,9 +30,10 @@ fn debug() { snapbox::cmd::Command::new(snapbox::cmd::cargo_bin!("custom-panic-test")) .assert() .stderr_eq_(snapbox::str![[r#" - thread 'main' panicked at tests/custom-panic/src/main.rs:11:5: - OMG EVERYTHING IS ON FIRE!!! - note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace - "#]]) +thread 'main' panicked at tests/custom-panic/src/main.rs:11:5: +OMG EVERYTHING IS ON FIRE!!! +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + +"#]]) .code(101); } diff --git a/tests/single-panic/Cargo.toml b/tests/single-panic/Cargo.toml index 474e73a..e2d2495 100644 --- a/tests/single-panic/Cargo.toml +++ b/tests/single-panic/Cargo.toml @@ -12,4 +12,4 @@ release = false human-panic = { path = "../.." } [dev-dependencies] -snapbox = { version = "0.5.14", features = ["cmd"] } +snapbox = { version = "0.6.4", features = ["cmd"] } diff --git a/tests/single-panic/tests/integration.rs b/tests/single-panic/tests/integration.rs index 5d68eb5..84b6fdd 100644 --- a/tests/single-panic/tests/integration.rs +++ b/tests/single-panic/tests/integration.rs @@ -25,9 +25,10 @@ fn debug() { snapbox::cmd::Command::new(snapbox::cmd::cargo_bin!("single-panic-test")) .assert() .stderr_eq_(snapbox::str![[r#" - thread 'main' panicked at tests/single-panic/src/main.rs:7:5: - OMG EVERYTHING IS ON FIRE!!! - note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace - "#]]) +thread 'main' panicked at tests/single-panic/src/main.rs:7:5: +OMG EVERYTHING IS ON FIRE!!! +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + +"#]]) .code(101); }