Skip to content

Commit 7eadd58

Browse files
committed
Update duplicate build targets test
Signed-off-by: hi-rustin <[email protected]>
1 parent 494e29d commit 7eadd58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/testsuite/build.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,9 @@ fn cargo_compile_duplicate_build_targets() {
259259
p.cargo("build")
260260
.with_stderr(
261261
"\
262-
warning: file found to be present in multiple build targets: [..]main.rs
262+
warning: file `[..]main.rs` found to be present in multiple build targets:
263+
* `lib` target `main`
264+
* `bin` target `foo`
263265
[COMPILING] foo v0.0.1 ([..])
264266
[FINISHED] [..]
265267
",

0 commit comments

Comments
 (0)