@@ -205,7 +205,8 @@ fn test_multi_crate() {
205
205
// Check that we don't have the 'triggers' message shown at the bottom of this loop,
206
206
// and that we don't explain how to show a per-package report
207
207
. with_stderr_does_not_contain ( "[..]triggers[..]" )
208
- . with_stderr_does_not_contain ( "[..]--crate[..]" )
208
+ . with_stderr_does_not_contain ( "[..]--package[..]" )
209
+ . with_stderr_does_not_contain ( "[..]-p[..]" )
209
210
. run ( ) ;
210
211
211
212
p. cargo ( command) . arg ( "-Zunstable-options" ) . arg ( "-Zfuture-incompat-report" ) . arg ( "--future-incompat-report" )
@@ -216,16 +217,18 @@ fn test_multi_crate() {
216
217
. with_stderr_contains ( " - second-dep v0.0.2" )
217
218
. run ( ) ;
218
219
219
- p. cargo ( "report future-incompatibilities" ) . arg ( "--crate " ) . arg ( "first-dep v0.0.1" ) . arg ( "-Zunstable-options" ) . arg ( "-Zfuture-incompat-report" )
220
+ p. cargo ( "report future-incompatibilities" ) . arg ( "--package " ) . arg ( "first-dep v0.0.1" ) . arg ( "-Zunstable-options" ) . arg ( "-Zfuture-incompat-report" )
220
221
. masquerade_as_nightly_cargo ( )
221
222
. with_stdout_contains ( "The package `first-dep v0.0.1` currently triggers the following future incompatibility lints:" )
222
223
. with_stdout_contains ( FUTURE_OUTPUT )
224
+ . with_stdout_does_not_contain ( "[..]second-dep[..]" )
223
225
. run ( ) ;
224
226
225
- p. cargo ( "report future-incompatibilities" ) . arg ( "--crate " ) . arg ( "second-dep v0.0.2" ) . arg ( "-Zunstable-options" ) . arg ( "-Zfuture-incompat-report" )
227
+ p. cargo ( "report future-incompatibilities" ) . arg ( "--package " ) . arg ( "second-dep v0.0.2" ) . arg ( "-Zunstable-options" ) . arg ( "-Zfuture-incompat-report" )
226
228
. masquerade_as_nightly_cargo ( )
227
229
. with_stdout_contains ( "The package `second-dep v0.0.2` currently triggers the following future incompatibility lints:" )
228
230
. with_stdout_contains ( FUTURE_OUTPUT )
231
+ . with_stdout_does_not_contain ( "[..]first-dep[..]" )
229
232
. run ( ) ;
230
233
}
231
234
0 commit comments