Skip to content

Commit 58e0ab8

Browse files
committed
reuse add_basic.in/lib.rs for testcase
1 parent 9ac3032 commit 58e0ab8

File tree

18 files changed

+42
-1
lines changed

18 files changed

+42
-1
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
cargo-features = ["public-dependency"]
22
[workspace]
33

4+
[lib]
5+
path = "../../add_basic.in/src/lib.rs"
6+
47
[package]
58
name = "cargo-list-test-fixture"
69
version = "0.0.0"

tests/testsuite/cargo_add/no_public/in/src/lib.rs

Whitespace-only changes.

tests/testsuite/cargo_add/no_public/out/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
cargo-features = ["public-dependency"]
22
[workspace]
33

4+
[lib]
5+
path = "../../add_basic.in/src/lib.rs"
6+
47
[package]
58
name = "cargo-list-test-fixture"
69
version = "0.0.0"

tests/testsuite/cargo_add/overwrite_no_public/in/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
cargo-features = ["public-dependency"]
22
[workspace]
33

4+
[lib]
5+
path = "../../add_basic.in/src/lib.rs"
6+
47
[package]
58
name = "cargo-list-test-fixture"
69
version = "0.0.0"

tests/testsuite/cargo_add/overwrite_no_public/in/src/lib.rs

Whitespace-only changes.

tests/testsuite/cargo_add/overwrite_no_public/out/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
cargo-features = ["public-dependency"]
22
[workspace]
33

4+
[lib]
5+
path = "../../add_basic.in/src/lib.rs"
6+
47
[package]
58
name = "cargo-list-test-fixture"
69
version = "0.0.0"

tests/testsuite/cargo_add/overwrite_no_public_with_public/in/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
cargo-features = ["public-dependency"]
22
[workspace]
33

4+
[lib]
5+
path = "../../add_basic.in/src/lib.rs"
6+
47
[package]
58
name = "cargo-list-test-fixture"
69
version = "0.0.0"

tests/testsuite/cargo_add/overwrite_no_public_with_public/in/src/lib.rs

Whitespace-only changes.

tests/testsuite/cargo_add/overwrite_no_public_with_public/out/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
cargo-features = ["public-dependency"]
22
[workspace]
33

4+
[lib]
5+
path = "../../add_basic.in/src/lib.rs"
6+
47
[package]
58
name = "cargo-list-test-fixture"
69
version = "0.0.0"

tests/testsuite/cargo_add/overwrite_public/in/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
cargo-features = ["public-dependency"]
22
[workspace]
33

4+
[lib]
5+
path = "../../add_basic.in/src/lib.rs"
6+
47
[package]
58
name = "cargo-list-test-fixture"
69
version = "0.0.0"

0 commit comments

Comments
 (0)