@@ -241,11 +241,9 @@ fn cargo_bench_failing_test() {
241
241
[COMPILING] foo v0.5.0 ({})
242
242
[FINISHED] release [optimized] target(s) in [..]
243
243
[RUNNING] target[/]release[/]deps[/]foo-[..][EXE]
244
- thread '[..]' panicked at 'assertion failed: \
245
- `(left == right)`[..]", p. url( ) ) )
244
+ thread '[..]' panicked at 'assertion failed: `(left == right)`[..]" , p. url( ) ) )
246
245
. with_stderr_contains ( "[..]left: `\" hello\" `[..]" )
247
246
. with_stderr_contains ( "[..]right: `\" nope\" `[..]" )
248
- . with_stderr_contains ( "[..]src[/]foo.rs:14" )
249
247
. with_status ( 101 ) ) ;
250
248
}
251
249
@@ -295,7 +293,7 @@ fn bench_with_lib_dep() {
295
293
[FINISHED] release [optimized] target(s) in [..]
296
294
[RUNNING] target[/]release[/]deps[/]foo-[..][EXE]
297
295
[RUNNING] target[/]release[/]deps[/]baz-[..][EXE]" , p. url( ) ) )
298
- . with_stdout_contains ( "test lib_bench ... bench: [..]" )
296
+ . with_stdout_contains ( "test lib_bench ... bench: [..]" )
299
297
. with_stdout_contains ( "test bin_bench ... bench: [..]" ) ) ;
300
298
}
301
299
@@ -695,7 +693,7 @@ fn bench_dylib() {
695
693
[RUNNING] `[..]target[/]release[/]deps[/]foo-[..][EXE] --bench`
696
694
[RUNNING] `[..]target[/]release[/]deps[/]bench-[..][EXE] --bench`" , dir = p. url( ) ) )
697
695
. with_stdout_contains_n ( "test foo ... bench: [..]" , 2 ) ) ;
698
-
696
+
699
697
p. root ( ) . move_into_the_past ( ) ;
700
698
assert_that ( p. cargo ( "bench" ) . arg ( "-v" ) ,
701
699
execs ( ) . with_status ( 0 )
0 commit comments