mirror of
https://github.com/rust-lang/cargo
synced 2024-09-13 21:11:44 +00:00
test(add): Import cargo-add tests
This is a fork of https://github.com/killercup/cargo-edit/tree/merge-add at d561719161ed5564111ff2152ff206463ec24cef
This commit is contained in:
parent
5ca5f2f157
commit
6ec86fc47b
|
@ -100,6 +100,7 @@ features = [
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
cargo-test-macro = { path = "crates/cargo-test-macro" }
|
cargo-test-macro = { path = "crates/cargo-test-macro" }
|
||||||
cargo-test-support = { path = "crates/cargo-test-support" }
|
cargo-test-support = { path = "crates/cargo-test-support" }
|
||||||
|
snapbox = { version = "0.2.8", features = ["diff", "path"] }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
flate2 = { version = "1.0.3", default-features = false, features = ["zlib"] }
|
flate2 = { version = "1.0.3", default-features = false, features = ["zlib"] }
|
||||||
|
|
5
tests/snapshots/add/add-basic.in/Cargo.toml
Normal file
5
tests/snapshots/add/add-basic.in/Cargo.toml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
0
tests/snapshots/add/add-basic.in/src/lib.rs
Normal file
0
tests/snapshots/add/add-basic.in/src/lib.rs
Normal file
1
tests/snapshots/add/add_basic.in
Symbolic link
1
tests/snapshots/add/add_basic.in
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
add-basic.in/
|
8
tests/snapshots/add/add_basic.out/Cargo.toml
Normal file
8
tests/snapshots/add/add_basic.out/Cargo.toml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
my-package = "99999.0.0"
|
2
tests/snapshots/add/add_basic.stderr
Normal file
2
tests/snapshots/add/add_basic.stderr
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Updating `dummy-registry` index
|
||||||
|
Adding my-package v99999.0.0 to dependencies.
|
0
tests/snapshots/add/add_basic.stdout
Normal file
0
tests/snapshots/add/add_basic.stdout
Normal file
1
tests/snapshots/add/add_multiple.in
Symbolic link
1
tests/snapshots/add/add_multiple.in
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
add-basic.in/
|
9
tests/snapshots/add/add_multiple.out/Cargo.toml
Normal file
9
tests/snapshots/add/add_multiple.out/Cargo.toml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
my-package1 = "99999.0.0"
|
||||||
|
my-package2 = "99999.0.0"
|
3
tests/snapshots/add/add_multiple.stderr
Normal file
3
tests/snapshots/add/add_multiple.stderr
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
Updating `dummy-registry` index
|
||||||
|
Adding my-package1 v99999.0.0 to dependencies.
|
||||||
|
Adding my-package2 v99999.0.0 to dependencies.
|
0
tests/snapshots/add/add_multiple.stdout
Normal file
0
tests/snapshots/add/add_multiple.stdout
Normal file
1
tests/snapshots/add/add_normalized_name_external.in
Symbolic link
1
tests/snapshots/add/add_normalized_name_external.in
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
add-basic.in/
|
|
@ -0,0 +1,9 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
inflector = "0.11.4"
|
||||||
|
linked-hash-map = "0.5.4"
|
18
tests/snapshots/add/add_normalized_name_external.stderr
Normal file
18
tests/snapshots/add/add_normalized_name_external.stderr
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
Updating `dummy-registry` index
|
||||||
|
warning: translating `linked_hash_map` to `linked-hash-map`
|
||||||
|
warning: translating `Inflector` to `inflector`
|
||||||
|
Adding linked-hash-map v0.5.4 to dependencies.
|
||||||
|
Features:
|
||||||
|
- clippy
|
||||||
|
- heapsize
|
||||||
|
- heapsize_impl
|
||||||
|
- nightly
|
||||||
|
- serde
|
||||||
|
- serde_impl
|
||||||
|
- serde_test
|
||||||
|
Adding inflector v0.11.4 to dependencies.
|
||||||
|
Features:
|
||||||
|
+ heavyweight
|
||||||
|
+ lazy_static
|
||||||
|
+ regex
|
||||||
|
- unstable
|
1
tests/snapshots/add/build.in
Symbolic link
1
tests/snapshots/add/build.in
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
add-basic.in/
|
9
tests/snapshots/add/build.out/Cargo.toml
Normal file
9
tests/snapshots/add/build.out/Cargo.toml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[build-dependencies]
|
||||||
|
my-build-package1 = "99999.0.0"
|
||||||
|
my-build-package2 = "99999.0.0"
|
3
tests/snapshots/add/build.stderr
Normal file
3
tests/snapshots/add/build.stderr
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
Updating `dummy-registry` index
|
||||||
|
Adding my-build-package1 v99999.0.0 to build-dependencies.
|
||||||
|
Adding my-build-package2 v99999.0.0 to build-dependencies.
|
0
tests/snapshots/add/build.stdout
Normal file
0
tests/snapshots/add/build.stdout
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[workspace]
|
||||||
|
exclude = ["dependency"]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
cargo-list-test-fixture-dependency = { version = "0.0.0", path = "dependency", optional = true, default-features = false, features = ["one", "two"], registry = "alternative" }
|
|
@ -0,0 +1,5 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture-dependency"
|
||||||
|
version = "0.0.0"
|
|
@ -0,0 +1,12 @@
|
||||||
|
[workspace]
|
||||||
|
exclude = ["dependency"]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
cargo-list-test-fixture-dependency = { version = "0.0.0", path = "dependency", optional = true, default-features = false, features = ["one", "two"], registry = "alternative" }
|
||||||
|
|
||||||
|
[build-dependencies]
|
||||||
|
cargo-list-test-fixture-dependency = { version = "0.0.0", path = "dependency", registry = "alternative" }
|
|
@ -0,0 +1,5 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture-dependency"
|
||||||
|
version = "0.0.0"
|
1
tests/snapshots/add/build_prefer_existing_version.stderr
Normal file
1
tests/snapshots/add/build_prefer_existing_version.stderr
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Adding cargo-list-test-fixture-dependency (local) to build-dependencies.
|
8
tests/snapshots/add/change_rename_target.in/Cargo.toml
Normal file
8
tests/snapshots/add/change_rename_target.in/Cargo.toml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
some-package = { package = "my-package1", version = "0.1.1", optional = true }
|
8
tests/snapshots/add/change_rename_target.out/Cargo.toml
Normal file
8
tests/snapshots/add/change_rename_target.out/Cargo.toml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
some-package = { package = "my-package2", version = "99999.0.0", optional = true }
|
2
tests/snapshots/add/change_rename_target.stderr
Normal file
2
tests/snapshots/add/change_rename_target.stderr
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Updating `dummy-registry` index
|
||||||
|
Adding my-package2 v99999.0.0 to optional dependencies.
|
0
tests/snapshots/add/change_rename_target.stdout
Normal file
0
tests/snapshots/add/change_rename_target.stdout
Normal file
1
tests/snapshots/add/default_features.in
Symbolic link
1
tests/snapshots/add/default_features.in
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
add-basic.in/
|
9
tests/snapshots/add/default_features.out/Cargo.toml
Normal file
9
tests/snapshots/add/default_features.out/Cargo.toml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
my-package1 = "99999.0.0"
|
||||||
|
my-package2 = "0.4.1"
|
3
tests/snapshots/add/default_features.stderr
Normal file
3
tests/snapshots/add/default_features.stderr
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
Updating `dummy-registry` index
|
||||||
|
Adding my-package1 v99999.0.0 to dependencies.
|
||||||
|
Adding my-package2 v0.4.1 to dependencies.
|
0
tests/snapshots/add/default_features.stdout
Normal file
0
tests/snapshots/add/default_features.stdout
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
my-package = { version = "99999.0.0", default_features = false }
|
|
@ -0,0 +1,8 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
my-package = { version = "99999.0.0", default_features = false }
|
1
tests/snapshots/add/deprecated_default_features.stderr
Normal file
1
tests/snapshots/add/deprecated_default_features.stderr
Normal file
|
@ -0,0 +1 @@
|
||||||
|
error: Use of `default_features` in `my-package` is unsupported, please switch to `default-features`
|
11
tests/snapshots/add/deprecated_section.in/Cargo.toml
Normal file
11
tests/snapshots/add/deprecated_section.in/Cargo.toml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dev_dependencies]
|
||||||
|
my-package = "99999.0.0"
|
||||||
|
|
||||||
|
[build_dependencies]
|
||||||
|
my-package = "99999.0.0"
|
11
tests/snapshots/add/deprecated_section.out/Cargo.toml
Normal file
11
tests/snapshots/add/deprecated_section.out/Cargo.toml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dev_dependencies]
|
||||||
|
my-package = "99999.0.0"
|
||||||
|
|
||||||
|
[build_dependencies]
|
||||||
|
my-package = "99999.0.0"
|
1
tests/snapshots/add/deprecated_section.stderr
Normal file
1
tests/snapshots/add/deprecated_section.stderr
Normal file
|
@ -0,0 +1 @@
|
||||||
|
error: Deprecated dependency sections are unsupported: dev_dependencies, build_dependencies
|
0
tests/snapshots/add/deprecated_section.stdout
Normal file
0
tests/snapshots/add/deprecated_section.stdout
Normal file
1
tests/snapshots/add/dev.in
Symbolic link
1
tests/snapshots/add/dev.in
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
add-basic.in/
|
9
tests/snapshots/add/dev.out/Cargo.toml
Normal file
9
tests/snapshots/add/dev.out/Cargo.toml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dev-dependencies]
|
||||||
|
my-dev-package1 = "99999.0.0"
|
||||||
|
my-dev-package2 = "99999.0.0"
|
3
tests/snapshots/add/dev.stderr
Normal file
3
tests/snapshots/add/dev.stderr
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
Updating `dummy-registry` index
|
||||||
|
Adding my-dev-package1 v99999.0.0 to dev-dependencies.
|
||||||
|
Adding my-dev-package2 v99999.0.0 to dev-dependencies.
|
0
tests/snapshots/add/dev.stdout
Normal file
0
tests/snapshots/add/dev.stdout
Normal file
1
tests/snapshots/add/dev_build_conflict.in
Symbolic link
1
tests/snapshots/add/dev_build_conflict.in
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
add-basic.in/
|
5
tests/snapshots/add/dev_build_conflict.out/Cargo.toml
Normal file
5
tests/snapshots/add/dev_build_conflict.out/Cargo.toml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
8
tests/snapshots/add/dev_build_conflict.stderr
Normal file
8
tests/snapshots/add/dev_build_conflict.stderr
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
error: The argument '--dev' cannot be used with '--build'
|
||||||
|
|
||||||
|
USAGE:
|
||||||
|
cargo add [OPTIONS] <DEP>[@<VERSION>] ...
|
||||||
|
cargo add [OPTIONS] --path <PATH> ...
|
||||||
|
cargo add [OPTIONS] --git <URL> ...
|
||||||
|
|
||||||
|
For more information try --help
|
0
tests/snapshots/add/dev_build_conflict.stdout
Normal file
0
tests/snapshots/add/dev_build_conflict.stdout
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[workspace]
|
||||||
|
exclude = ["dependency"]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
cargo-list-test-fixture-dependency = { version = "0.0.0", path = "dependency", optional = true, default-features = false, features = ["one", "two"], registry = "alternative" }
|
|
@ -0,0 +1,5 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture-dependency"
|
||||||
|
version = "0.0.0"
|
|
@ -0,0 +1,12 @@
|
||||||
|
[workspace]
|
||||||
|
exclude = ["dependency"]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
cargo-list-test-fixture-dependency = { version = "0.0.0", path = "dependency", optional = true, default-features = false, features = ["one", "two"], registry = "alternative" }
|
||||||
|
|
||||||
|
[dev-dependencies]
|
||||||
|
cargo-list-test-fixture-dependency = { path = "dependency" }
|
|
@ -0,0 +1,5 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture-dependency"
|
||||||
|
version = "0.0.0"
|
1
tests/snapshots/add/dev_prefer_existing_version.stderr
Normal file
1
tests/snapshots/add/dev_prefer_existing_version.stderr
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Adding cargo-list-test-fixture-dependency (local) to dev-dependencies.
|
1
tests/snapshots/add/dry_run.in
Symbolic link
1
tests/snapshots/add/dry_run.in
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
add-basic.in/
|
5
tests/snapshots/add/dry_run.out/Cargo.toml
Normal file
5
tests/snapshots/add/dry_run.out/Cargo.toml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
3
tests/snapshots/add/dry_run.stderr
Normal file
3
tests/snapshots/add/dry_run.stderr
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
Updating `dummy-registry` index
|
||||||
|
Adding my-package v99999.0.0 to dependencies.
|
||||||
|
warning: aborting add due to dry run
|
0
tests/snapshots/add/dry_run.stdout
Normal file
0
tests/snapshots/add/dry_run.stdout
Normal file
1
tests/snapshots/add/features.in
Symbolic link
1
tests/snapshots/add/features.in
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
add-basic.in/
|
8
tests/snapshots/add/features.out/Cargo.toml
Normal file
8
tests/snapshots/add/features.out/Cargo.toml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
your-face = { version = "99999.0.0", features = ["eyes"] }
|
7
tests/snapshots/add/features.stderr
Normal file
7
tests/snapshots/add/features.stderr
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
Updating `dummy-registry` index
|
||||||
|
Adding your-face v99999.0.0 to dependencies.
|
||||||
|
Features:
|
||||||
|
+ eyes
|
||||||
|
- ears
|
||||||
|
- mouth
|
||||||
|
- nose
|
0
tests/snapshots/add/features.stdout
Normal file
0
tests/snapshots/add/features.stdout
Normal file
1
tests/snapshots/add/features_empty.in
Symbolic link
1
tests/snapshots/add/features_empty.in
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
add-basic.in/
|
8
tests/snapshots/add/features_empty.out/Cargo.toml
Normal file
8
tests/snapshots/add/features_empty.out/Cargo.toml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
your-face = "99999.0.0"
|
7
tests/snapshots/add/features_empty.stderr
Normal file
7
tests/snapshots/add/features_empty.stderr
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
Updating `dummy-registry` index
|
||||||
|
Adding your-face v99999.0.0 to dependencies.
|
||||||
|
Features:
|
||||||
|
- ears
|
||||||
|
- eyes
|
||||||
|
- mouth
|
||||||
|
- nose
|
0
tests/snapshots/add/features_empty.stdout
Normal file
0
tests/snapshots/add/features_empty.stdout
Normal file
1
tests/snapshots/add/features_multiple_occurrences.in
Symbolic link
1
tests/snapshots/add/features_multiple_occurrences.in
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
add-basic.in/
|
|
@ -0,0 +1,8 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
your-face = { version = "99999.0.0", features = ["eyes", "nose"] }
|
7
tests/snapshots/add/features_multiple_occurrences.stderr
Normal file
7
tests/snapshots/add/features_multiple_occurrences.stderr
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
Updating `dummy-registry` index
|
||||||
|
Adding your-face v99999.0.0 to dependencies.
|
||||||
|
Features:
|
||||||
|
+ eyes
|
||||||
|
+ nose
|
||||||
|
- ears
|
||||||
|
- mouth
|
8
tests/snapshots/add/features_preserve.in/Cargo.toml
Normal file
8
tests/snapshots/add/features_preserve.in/Cargo.toml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
your-face = { version = "99999.0.0", features = ["eyes"] }
|
0
tests/snapshots/add/features_preserve.in/src/lib.rs
Normal file
0
tests/snapshots/add/features_preserve.in/src/lib.rs
Normal file
8
tests/snapshots/add/features_preserve.out/Cargo.toml
Normal file
8
tests/snapshots/add/features_preserve.out/Cargo.toml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
your-face = { version = "99999.0.0", features = ["eyes"] }
|
7
tests/snapshots/add/features_preserve.stderr
Normal file
7
tests/snapshots/add/features_preserve.stderr
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
Updating `dummy-registry` index
|
||||||
|
Adding your-face v99999.0.0 to dependencies.
|
||||||
|
Features:
|
||||||
|
+ eyes
|
||||||
|
- ears
|
||||||
|
- mouth
|
||||||
|
- nose
|
0
tests/snapshots/add/features_preserve.stdout
Normal file
0
tests/snapshots/add/features_preserve.stdout
Normal file
1
tests/snapshots/add/features_spaced_values.in
Symbolic link
1
tests/snapshots/add/features_spaced_values.in
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
add-basic.in/
|
|
@ -0,0 +1,8 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
your-face = { version = "99999.0.0", features = ["eyes", "nose"] }
|
7
tests/snapshots/add/features_spaced_values.stderr
Normal file
7
tests/snapshots/add/features_spaced_values.stderr
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
Updating `dummy-registry` index
|
||||||
|
Adding your-face v99999.0.0 to dependencies.
|
||||||
|
Features:
|
||||||
|
+ eyes
|
||||||
|
+ nose
|
||||||
|
- ears
|
||||||
|
- mouth
|
0
tests/snapshots/add/features_spaced_values.stdout
Normal file
0
tests/snapshots/add/features_spaced_values.stdout
Normal file
1
tests/snapshots/add/features_unknown.in
Symbolic link
1
tests/snapshots/add/features_unknown.in
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
add-basic.in/
|
5
tests/snapshots/add/features_unknown.out/Cargo.toml
Normal file
5
tests/snapshots/add/features_unknown.out/Cargo.toml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
9
tests/snapshots/add/features_unknown.stderr
Normal file
9
tests/snapshots/add/features_unknown.stderr
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
Updating `dummy-registry` index
|
||||||
|
Adding your-face v99999.0.0 to dependencies.
|
||||||
|
Features:
|
||||||
|
+ noze
|
||||||
|
- ears
|
||||||
|
- eyes
|
||||||
|
- mouth
|
||||||
|
- nose
|
||||||
|
error: unrecognized features: ["noze"]
|
0
tests/snapshots/add/features_unknown.stdout
Normal file
0
tests/snapshots/add/features_unknown.stdout
Normal file
1
tests/snapshots/add/git.in
Symbolic link
1
tests/snapshots/add/git.in
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
add-basic.in/
|
8
tests/snapshots/add/git.out/Cargo.toml
Normal file
8
tests/snapshots/add/git.out/Cargo.toml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
git-package = { git = "[ROOTURL]/git-package", version = "0.3.0" }
|
2
tests/snapshots/add/git.stderr
Normal file
2
tests/snapshots/add/git.stderr
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Updating git repository `[ROOTURL]/git-package`
|
||||||
|
Adding git-package (git) to dependencies.
|
0
tests/snapshots/add/git.stdout
Normal file
0
tests/snapshots/add/git.stdout
Normal file
1
tests/snapshots/add/git_branch.in
Symbolic link
1
tests/snapshots/add/git_branch.in
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
add-basic.in/
|
8
tests/snapshots/add/git_branch.out/Cargo.toml
Normal file
8
tests/snapshots/add/git_branch.out/Cargo.toml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[workspace]
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name = "cargo-list-test-fixture"
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
git-package = { git = "[ROOTURL]/git-package", branch = "dev", version = "0.3.0" }
|
2
tests/snapshots/add/git_branch.stderr
Normal file
2
tests/snapshots/add/git_branch.stderr
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Updating git repository `[ROOTURL]/git-package`
|
||||||
|
Adding git-package (git) to dependencies.
|
0
tests/snapshots/add/git_branch.stdout
Normal file
0
tests/snapshots/add/git_branch.stdout
Normal file
1
tests/snapshots/add/git_conflicts_namever.in
Symbolic link
1
tests/snapshots/add/git_conflicts_namever.in
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
add-basic.in/
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue