File tree 5 files changed +20
-18
lines changed
5 files changed +20
-18
lines changed Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ release = false
12
12
human-panic = { path = " ../.." }
13
13
14
14
[dev-dependencies ]
15
- snapbox = { version = " 0.5.9 " , features = [" cmd" ] }
15
+ snapbox = { version = " 0.6.4 " , features = [" cmd" ] }
Original file line number Diff line number Diff line change 3
3
fn release ( ) {
4
4
snapbox:: cmd:: Command :: new ( snapbox:: cmd:: cargo_bin!( "custom-panic-test" ) )
5
5
. assert ( )
6
- . stderr_matches ( snapbox:: str![ [ r#"
6
+ . stderr_eq ( snapbox:: str![ [ r#"
7
7
Well, this is embarrassing.
8
8
9
9
custom-panic-test had a problem and crashed. To help us diagnose the problem you can send us a crash report.
@@ -29,10 +29,11 @@ fn release() {
29
29
fn debug ( ) {
30
30
snapbox:: cmd:: Command :: new ( snapbox:: cmd:: cargo_bin!( "custom-panic-test" ) )
31
31
. assert ( )
32
- . stderr_matches ( snapbox:: str![ [ r#"
33
- thread 'main' panicked at tests/custom-panic/src/main.rs:11:5:
34
- OMG EVERYTHING IS ON FIRE!!!
35
- note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
36
- "# ] ] )
32
+ . stderr_eq ( snapbox:: str![ [ r#"
33
+ thread 'main' panicked at tests/custom-panic/src/main.rs:11:5:
34
+ OMG EVERYTHING IS ON FIRE!!!
35
+ note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
36
+
37
+ "# ] ] )
37
38
. code ( 101 ) ;
38
39
}
Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ release = false
12
12
human-panic = { path = " ../.." }
13
13
14
14
[dev-dependencies ]
15
- snapbox = { version = " 0.5.9 " , features = [" cmd" ] }
15
+ snapbox = { version = " 0.6.4 " , features = [" cmd" ] }
Original file line number Diff line number Diff line change 3
3
fn release ( ) {
4
4
snapbox:: cmd:: Command :: new ( snapbox:: cmd:: cargo_bin!( "single-panic-test" ) )
5
5
. assert ( )
6
- . stderr_matches ( snapbox:: str![ [ r#"
6
+ . stderr_eq ( snapbox:: str![ [ r#"
7
7
Well, this is embarrassing.
8
8
9
9
single-panic-test had a problem and crashed. To help us diagnose the problem you can send us a crash report.
@@ -24,10 +24,11 @@ fn release() {
24
24
fn debug ( ) {
25
25
snapbox:: cmd:: Command :: new ( snapbox:: cmd:: cargo_bin!( "single-panic-test" ) )
26
26
. assert ( )
27
- . stderr_matches ( snapbox:: str![ [ r#"
28
- thread 'main' panicked at tests/single-panic/src/main.rs:7:5:
29
- OMG EVERYTHING IS ON FIRE!!!
30
- note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
31
- "# ] ] )
27
+ . stderr_eq ( snapbox:: str![ [ r#"
28
+ thread 'main' panicked at tests/single-panic/src/main.rs:7:5:
29
+ OMG EVERYTHING IS ON FIRE!!!
30
+ note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
31
+
32
+ "# ] ] )
32
33
. code ( 101 ) ;
33
34
}
You can’t perform that action at this time.
0 commit comments