diff --git a/tests/snapshots/success-include-directive-in-new-project-cargo-toml b/tests/snapshots/success-include-directive-in-new-project-cargo-toml index 18f55d4..32a0805 100644 --- a/tests/snapshots/success-include-directive-in-new-project-cargo-toml +++ b/tests/snapshots/success-include-directive-in-new-project-cargo-toml @@ -1,7 +1,6 @@ [package] name = "library" version = "0.1.0" -authors = ["author "] edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/tests/snapshots/success-include-directive-in-new-project-cargo-toml-with-tests-excluded b/tests/snapshots/success-include-directive-in-new-project-cargo-toml-with-tests-excluded index 307cab1..f9474c3 100644 --- a/tests/snapshots/success-include-directive-in-new-project-cargo-toml-with-tests-excluded +++ b/tests/snapshots/success-include-directive-in-new-project-cargo-toml-with-tests-excluded @@ -1,7 +1,6 @@ [package] name = "library" version = "0.1.0" -authors = ["author "] edition = "2018" include = ["src/**/*", "!**/*_test.*"] diff --git a/tests/snapshots/success-include-directive-in-new-project-cargo-toml-with-tests-excluded-and-readme b/tests/snapshots/success-include-directive-in-new-project-cargo-toml-with-tests-excluded-and-readme index f41fad9..d54c75e 100644 --- a/tests/snapshots/success-include-directive-in-new-project-cargo-toml-with-tests-excluded-and-readme +++ b/tests/snapshots/success-include-directive-in-new-project-cargo-toml-with-tests-excluded-and-readme @@ -1,7 +1,6 @@ [package] name = "library" version = "0.1.0" -authors = ["author "] edition = "2018" include = ["src/**/*", "README.md", "!**/*_test.*"] diff --git a/tests/snapshots/success-include-directive-in-new-project-cargo-toml-with-tests-excluded-dry-run b/tests/snapshots/success-include-directive-in-new-project-cargo-toml-with-tests-excluded-dry-run index 18f55d4..32a0805 100644 --- a/tests/snapshots/success-include-directive-in-new-project-cargo-toml-with-tests-excluded-dry-run +++ b/tests/snapshots/success-include-directive-in-new-project-cargo-toml-with-tests-excluded-dry-run @@ -1,7 +1,6 @@ [package] name = "library" version = "0.1.0" -authors = ["author "] edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/tests/snapshots/success-include-directive-in-new-project-test-added b/tests/snapshots/success-include-directive-in-new-project-test-added index eba5238..e9296aa 100644 --- a/tests/snapshots/success-include-directive-in-new-project-test-added +++ b/tests/snapshots/success-include-directive-in-new-project-test-added @@ -3,12 +3,12 @@ ├─────────────────┼─────────────┤ │ src/lib_test.rs │ 0 │ └─────────────────┴─────────────┘ -Saved 0% or 0 B in 1 files (of 263 B and 3 files in entire crate) +Saved 0% or 0 B in 1 files (of 221 B and 3 files in entire crate) The following change was made to Cargo.toml: Diff - removed / added + : -[…skipped 3 lines…] -authors = ["author "] +[…skipped 2 lines…] +version = "0.1.0" edition = "2018" +include = ["src/**/*", "!**/*_test.*"] diff --git a/tests/snapshots/success-include-directive-in-new-project-test-added-dry-run b/tests/snapshots/success-include-directive-in-new-project-test-added-dry-run index 22dd0d2..562e05e 100644 --- a/tests/snapshots/success-include-directive-in-new-project-test-added-dry-run +++ b/tests/snapshots/success-include-directive-in-new-project-test-added-dry-run @@ -3,12 +3,12 @@ ├─────────────────┼─────────────┤ │ src/lib_test.rs │ 0 │ └─────────────────┴─────────────┘ -Saved 0% or 0 B in 1 files (of 263 B and 3 files in entire crate) +Saved 0% or 0 B in 1 files (of 221 B and 3 files in entire crate) The following change WOULD be made to Cargo.toml: Diff - removed / added + : -[…skipped 3 lines…] -authors = ["author "] +[…skipped 2 lines…] +version = "0.1.0" edition = "2018" +include = ["src/**/*", "!**/*_test.*"] diff --git a/tests/snapshots/success-include-directive-in-new-project-test-added-no-dryrun b/tests/snapshots/success-include-directive-in-new-project-test-added-no-dryrun index 26b3fb9..2623199 100644 --- a/tests/snapshots/success-include-directive-in-new-project-test-added-no-dryrun +++ b/tests/snapshots/success-include-directive-in-new-project-test-added-no-dryrun @@ -3,12 +3,12 @@ ├─────────────────┼─────────────┤ │ src/lib_test.rs │ 0 │ └─────────────────┴─────────────┘ -Saved 0% or 0 B in 1 files (of 263 B and 4 files in entire crate) +Saved 0% or 0 B in 1 files (of 221 B and 4 files in entire crate) The following change was made to Cargo.toml: Diff - removed / added + : -[…skipped 3 lines…] -authors = ["author "] +[…skipped 2 lines…] +version = "0.1.0" edition = "2018" -include = ["src/**/*", "!**/*_test.*"] +include = ["src/**/*", "README.md", "!**/*_test.*"] diff --git a/tests/snapshots/success-include-directive-in-new-project-test-added-reset-dry-run b/tests/snapshots/success-include-directive-in-new-project-test-added-reset-dry-run index 582e057..7729d5b 100644 --- a/tests/snapshots/success-include-directive-in-new-project-test-added-reset-dry-run +++ b/tests/snapshots/success-include-directive-in-new-project-test-added-reset-dry-run @@ -3,12 +3,12 @@ ├─────────────────┼─────────────┤ │ src/lib_test.rs │ 0 │ └─────────────────┴─────────────┘ -Saved 0% or 0 B in 1 files (of 263 B and 4 files in entire crate) +Saved 0% or 0 B in 1 files (of 221 B and 4 files in entire crate) The following change WOULD be made to Cargo.toml: Diff - removed / added + : -[…skipped 3 lines…] -authors = ["author "] +[…skipped 2 lines…] +version = "0.1.0" edition = "2018" -include = ["src/**/*", "!**/*_test.*"] +include = ["src/**/*", "README.md", "!**/*_test.*"] diff --git a/tests/snapshots/success-list-no-limit-with-zero b/tests/snapshots/success-list-no-limit-with-zero index 97f3f08..dd66402 100644 --- a/tests/snapshots/success-list-no-limit-with-zero +++ b/tests/snapshots/success-list-no-limit-with-zero @@ -5,6 +5,6 @@ There would be no change. ├──────────────┼─────────────┤ │ README.md │ 0 │ │ src/main.rs │ 45 │ -│ Cargo.toml │ 270 │ +│ Cargo.toml │ 228 │ └──────────────┴─────────────┘ Crate contains a total of 3 files and \ No newline at end of file diff --git a/tests/snapshots/success-list-with-limit b/tests/snapshots/success-list-with-limit index 99ca665..effe769 100644 --- a/tests/snapshots/success-list-with-limit +++ b/tests/snapshots/success-list-with-limit @@ -4,6 +4,6 @@ There would be no change. │ Removed File │ Size (Byte) │ ├──────────────┼─────────────┤ │ src/main.rs │ 45 │ -│ Cargo.toml │ 270 │ +│ Cargo.toml │ 228 │ └──────────────┴─────────────┘ Crate contains a total of 2 files and \ No newline at end of file