File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 2
2
//!
3
3
//! Note: Some tests are located in the resolver-tests package.
4
4
5
- #![ allow( deprecated) ]
6
-
7
5
use cargo_test_support:: project;
8
6
use cargo_test_support:: registry:: Package ;
7
+ use cargo_test_support:: str;
9
8
10
9
// Ensure that the "-Z minimal-versions" CLI option works and the minimal
11
10
// version of a dependency ends up in the lock file.
@@ -32,13 +31,12 @@ fn minimal_version_cli() {
32
31
33
32
p. cargo ( "generate-lockfile -Zminimal-versions" )
34
33
. masquerade_as_nightly_cargo ( & [ "minimal-versions" ] )
35
- . with_stderr (
36
- "\
37
- [UPDATING] [..]
34
+ . with_stderr_data ( str![ [ r#"
35
+ [UPDATING] `dummy-registry` index
38
36
[LOCKING] 2 packages to earliest compatible versions
39
37
[ADDING] dep v1.0.0 (latest: v1.1.0)
40
- " ,
41
- )
38
+
39
+ "# ] ] )
42
40
. run ( ) ;
43
41
44
42
let lock = p. read_lockfile ( ) ;
You can’t perform that action at this time.
0 commit comments