fix tests

This commit is contained in:
Yerkebulan Tulibergenov 2022-01-30 23:59:54 -08:00
parent 4969b1924f
commit a6c1459f37
5 changed files with 8 additions and 8 deletions

View file

@ -1209,8 +1209,8 @@ fn test_bench_no_run() {
"\ "\
[COMPILING] foo v0.0.1 ([..]) [COMPILING] foo v0.0.1 ([..])
[FINISHED] bench [optimized] target(s) in [..] [FINISHED] bench [optimized] target(s) in [..]
[EXECUTABLE] [..] (target/release/deps/foo-[..][EXE]) [EXECUTABLE] unittests (target/release/deps/foo-[..][EXE])
[EXECUTABLE] [..] (target/release/deps/bbaz-[..][EXE]) [EXECUTABLE] unittests (target/release/deps/bbaz-[..][EXE])
", ",
) )
.run(); .run();

View file

@ -2074,7 +2074,7 @@ fn minimal_download() {
[COMPILING] dev_dep v1.0.0 [COMPILING] dev_dep v1.0.0
[COMPILING] foo v0.1.0 [..] [COMPILING] foo v0.1.0 [..]
[FINISHED] [..] [FINISHED] [..]
[EXECUTABLE] [..] (target/debug/deps/foo-[..][EXE]) [EXECUTABLE] unittests (target/debug/deps/foo-[..][EXE])
", ",
) )
.run(); .run();

View file

@ -596,8 +596,8 @@ fn no_rebuild_transitive_target_deps() {
[COMPILING] b v0.0.1 ([..]) [COMPILING] b v0.0.1 ([..])
[COMPILING] foo v0.0.1 ([..]) [COMPILING] foo v0.0.1 ([..])
[FINISHED] test [unoptimized + debuginfo] target(s) in [..] [FINISHED] test [unoptimized + debuginfo] target(s) in [..]
[EXECUTABLE] [..] (target/debug/deps/foo-[..][EXE]) [EXECUTABLE] unittests (target/debug/deps/foo-[..][EXE])
[EXECUTABLE] [..] (target/debug/deps/foo-[..][EXE]) [EXECUTABLE] tests/foo.rs (target/debug/deps/foo-[..][EXE])
", ",
) )
.run(); .run();

View file

@ -63,7 +63,7 @@ fn deduplicate_messages_basic() {
warning: `foo` (lib) generated 1 warning warning: `foo` (lib) generated 1 warning
warning: `foo` (lib test) generated 1 warning (1 duplicate) warning: `foo` (lib test) generated 1 warning (1 duplicate)
[FINISHED] [..] [FINISHED] [..]
[EXECUTABLE] [..] (target/debug/deps/foo-[..][EXE]) [EXECUTABLE] unittests (target/debug/deps/foo-[..][EXE])
", ",
rustc_message rustc_message
); );
@ -107,7 +107,7 @@ warning: `foo` (lib) generated 1 warning
{}\ {}\
warning: `foo` (lib test) generated 2 warnings (1 duplicate) warning: `foo` (lib test) generated 2 warnings (1 duplicate)
[FINISHED] [..] [FINISHED] [..]
[EXECUTABLE] [..] (target/debug/deps/foo-[..][EXE]) [EXECUTABLE] unittests (target/debug/deps/foo-[..][EXE])
", ",
lib_output, lib_test_output lib_output, lib_test_output
); );

View file

@ -1346,7 +1346,7 @@ fn test_no_run() {
"\ "\
[COMPILING] foo v0.0.1 ([CWD]) [COMPILING] foo v0.0.1 ([CWD])
[FINISHED] test [unoptimized + debuginfo] target(s) in [..] [FINISHED] test [unoptimized + debuginfo] target(s) in [..]
[EXECUTABLE] [..] (target/debug/deps/foo-[..][EXE]) [EXECUTABLE] unittests (target/debug/deps/foo-[..][EXE])
", ",
) )
.run(); .run();