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 22//!
33//! Note: Some tests are located in the resolver-tests package.
44
5- #![ allow( deprecated) ]
6-
75use cargo_test_support:: project;
86use cargo_test_support:: registry:: Package ;
7+ use cargo_test_support:: str;
98
109// Ensure that the "-Z minimal-versions" CLI option works and the minimal
1110// version of a dependency ends up in the lock file.
@@ -32,13 +31,12 @@ fn minimal_version_cli() {
3231
3332 p. cargo ( "generate-lockfile -Zminimal-versions" )
3433 . masquerade_as_nightly_cargo ( & [ "minimal-versions" ] )
35- . with_stderr (
36- "\
37- [UPDATING] [..]
34+ . with_stderr_data ( str![ [ r#"
35+ [UPDATING] `dummy-registry` index
3836[LOCKING] 2 packages to earliest compatible versions
3937[ADDING] dep v1.0.0 (latest: v1.1.0)
40- " ,
41- )
38+
39+ "# ] ] )
4240 . run ( ) ;
4341
4442 let lock = p. read_lockfile ( ) ;
You can’t perform that action at this time.
0 commit comments