Skip to content

Commit 435117a

Browse files
committed
Test that homepage/documentation values are properly propagated
1 parent 72694e8 commit 435117a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/testsuite/metadata.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,6 +1179,8 @@ fn package_metadata() {
11791179
keywords = ["database"]
11801180
readme = "README.md"
11811181
repository = "https://github.com/rust-lang/cargo"
1182+
homepage = "https://rust-lang.org"
1183+
documentation = "https://doc.rust-lang.org/stable/std/"
11821184
11831185
[package.metadata.bar]
11841186
baz = "quux"
@@ -1199,8 +1201,8 @@ fn package_metadata() {
11991201
"name": "foo",
12001202
"readme": "README.md",
12011203
"repository": "https://github.com/rust-lang/cargo",
1202-
"homepage": null,
1203-
"documentation": null,
1204+
"homepage": "https://rust-lang.org",
1205+
"documentation": "https://doc.rust-lang.org/stable/std/",
12041206
"version": "0.1.0",
12051207
"id": "foo[..]",
12061208
"keywords": ["database"],

0 commit comments

Comments
 (0)