Skip to content

Commit

Permalink
refactor: Resolve deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Jun 4, 2024
1 parent 582532a commit ec2d612
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/custom-panic/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
fn release() {
snapbox::cmd::Command::new(snapbox::cmd::cargo_bin!("custom-panic-test"))
.assert()
.stderr_eq_(snapbox::str![[r#"
.stderr_eq(snapbox::str![[r#"
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.
Expand All @@ -29,7 +29,7 @@ fn release() {
fn debug() {
snapbox::cmd::Command::new(snapbox::cmd::cargo_bin!("custom-panic-test"))
.assert()
.stderr_eq_(snapbox::str![[r#"
.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
Expand Down
4 changes: 2 additions & 2 deletions tests/single-panic/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
fn release() {
snapbox::cmd::Command::new(snapbox::cmd::cargo_bin!("single-panic-test"))
.assert()
.stderr_eq_(snapbox::str![[r#"
.stderr_eq(snapbox::str![[r#"
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.
Expand All @@ -24,7 +24,7 @@ fn release() {
fn debug() {
snapbox::cmd::Command::new(snapbox::cmd::cargo_bin!("single-panic-test"))
.assert()
.stderr_eq_(snapbox::str![[r#"
.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
Expand Down

0 comments on commit ec2d612

Please sign in to comment.