We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7ffef7 commit f781d2dCopy full SHA for f781d2d
tests/testsuite/new.rs
@@ -522,3 +522,11 @@ fn new_with_blank_email() {
522
let contents = fs::read_to_string(paths::root().join("foo/Cargo.toml")).unwrap();
523
assert!(contents.contains(r#"authors = ["Sen"]"#), contents);
524
}
525
+
526
+#[test]
527
+fn new_with_reference_link() {
528
+ cargo_process("new foo").env("USER", "foo").run();
529
530
+ let contents = fs::read_to_string(paths::root().join("foo/Cargo.toml")).unwrap();
531
+ assert!(contents.contains("# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html"))
532
+}
0 commit comments