File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -618,6 +618,8 @@ version = "0.1.0"
618
618
authors = [{}]
619
619
edition = {}
620
620
{}
621
+ # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
622
+
621
623
[dependencies]
622
624
{}"# ,
623
625
name,
Original file line number Diff line number Diff line change @@ -522,3 +522,11 @@ fn new_with_blank_email() {
522
522
let contents = fs:: read_to_string ( paths:: root ( ) . join ( "foo/Cargo.toml" ) ) . unwrap ( ) ;
523
523
assert ! ( contents. contains( r#"authors = ["Sen"]"# ) , contents) ;
524
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
+ }
You can’t perform that action at this time.
0 commit comments