message: added dotfile to include test
  got rid of extra test for dotfiles
diff: @@ -425,11 +425,12 @@ fn include() {
  version = "0.0.1"
  authors = []
  exclude = ["*.txt"]
  - include = ["foo.txt", "**/*.rs", "Cargo.toml"]
  + include = ["foo.txt", "**/*.rs", "Cargo.toml", ".dotfile"]
  "#,
  )
  .file("foo.txt", "")
  .file("src/main.rs", r#"fn main() { println!("hello"); }"#)
  + .file(".dotfile", "")
  // Should be ignored when packaging.
  .file("src/bar.txt", "")
  .build();
  @@ -442,6 +443,7 @@ fn include() {
  See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.
  [WARNING] both package.include and package.exclude are specified; the exclude list will be ignored
  [PACKAGING] foo v0.0.1 ([..])
  +[ARCHIVING] .dotfile
  [ARCHIVING] Cargo.toml
  [ARCHIVING] foo.txt
  [ARCHIVING] src/main.rs
  @@ -1420,57 +1422,3 @@ fn gitignore_negate() {
  ",
  );
  }
  -
  -#[cargo_test]
  -fn include_dotfile() {
  - let p = project()
  - .file(
  - "Cargo.toml",
  - r#"
  - [project]
  - name = "foo"
  - version = "0.0.1"
  - "#,
  - )
  - .file("src/main.rs", r#"fn main() { println!("hello"); }"#)
  - .file(".hidden", "") // should be included when packaging
  - .build();
  -
  - p.cargo("package")
  - .with_stderr(
  - "\
  -[WARNING] manifest has no [..]
  -See [..]
  -[PACKAGING] foo v0.0.1 ([CWD])
  -[VERIFYING] foo v0.0.1 ([CWD])
  -[COMPILING] foo v0.0.1 ([CWD][..])
  -[FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
  -",
  - )
  - .run();
  - assert!(p.root().join("target/package/foo-0.0.1.crate").is_file());
  - p.cargo("package -l")
  - .with_stdout(
  - "\
  -.hidden
  -Cargo.lock
  -Cargo.toml
  -src/main.rs
  -",
  - )
  - .run();
  -
  - let f = File::open(&p.root().join("target/package/foo-0.0.1.crate")).unwrap();
  - validate_crate_contents(
  - f,
  - "foo-0.0.1.crate",
  - &[
  - ".hidden",
  - "Cargo.lock",
  - "Cargo.toml",
  - "Cargo.toml.orig",
  - "src/main.rs",
  - ],
  - &[],
  - );
  -}
  