Skip to content

Commit

Permalink
Move ATA tests to separate crate (#3429)
Browse files Browse the repository at this point in the history
  • Loading branch information
CriesofCarrots committed Aug 4, 2022
1 parent f5ce86d commit 3d53fa2
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 5 deletions.
12 changes: 11 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[workspace]
members = [
"associated-token-account/program",
"associated-token-account/program-test",
"binary-option/program",
"binary-oracle-pair/program",
"examples/rust/cross-program-invocation",
Expand Down
19 changes: 19 additions & 0 deletions associated-token-account/program-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[package]
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
description = "SPL Associated Token Account Program Tests"
edition = "2018"
license = "Apache-2.0"
name = "spl-associated-token-account-test"
repository = "https://github.com/solana-labs/solana-program-library"
version = "0.0.1"

[features]
test-bpf = []

[dev-dependencies]
solana-program = "1.10.33"
solana-program-test = "1.10.33"
solana-sdk = "1.10.33"
spl-associated-token-account = { version = "1.1", path = "../program", features = ["no-entrypoint"] }
spl-token = { version = "3.4", path = "../../token/program", features = ["no-entrypoint"] }
spl-token-2022 = { version = "0.4", path = "../../token/program-2022", features = ["no-entrypoint"] }
4 changes: 0 additions & 4 deletions associated-token-account/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ spl-token = { version = "3.4", path = "../../token/program", features = ["no-ent
spl-token-2022 = { version = "0.4", path = "../../token/program-2022", features = ["no-entrypoint"] }
thiserror = "1.0"

[dev-dependencies]
solana-program-test = "1.10.33"
solana-sdk = "1.10.33"

[lib]
crate-type = ["cdylib", "lib"]

Expand Down

0 comments on commit 3d53fa2

Please sign in to comment.