mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Fix test incorrectly validating CARGO_PKG_LICENSE_FILE.
This commit is contained in:
parent
580461bd40
commit
cfcb0786dd
@ -1303,7 +1303,7 @@ fn crate_env_vars() {
|
||||
repository = "https://example.com/repo.git"
|
||||
authors = ["wycats@example.com"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
license_file = "license.txt"
|
||||
license-file = "license.txt"
|
||||
|
||||
[[bin]]
|
||||
name = "foo-bar"
|
||||
@ -1344,6 +1344,7 @@ fn crate_env_vars() {
|
||||
assert_eq!("https://example.com", HOMEPAGE);
|
||||
assert_eq!("https://example.com/repo.git", REPOSITORY);
|
||||
assert_eq!("MIT OR Apache-2.0", LICENSE);
|
||||
assert_eq!("license.txt", LICENSE_FILE);
|
||||
assert_eq!("This is foo", DESCRIPTION);
|
||||
let s = format!("{}.{}.{}-{}", VERSION_MAJOR,
|
||||
VERSION_MINOR, VERSION_PATCH, VERSION_PRE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user