Skip to content

Commit

Permalink
get tests working when using 'cargo test' (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
Voxelot authored Dec 7, 2021
1 parent e36c4d0 commit 82566d1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions fuel-tx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ rand = { version = "0.8", optional = true }
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }
sha2 = { version = "0.9", optional = true }

[dev-dependencies]
fuel-types = { git = "ssh://git@github.com/FuelLabs/fuel-types.git", default-features = false, features = ["random"] }

[features]
default = ["fuel-asm/default", "fuel-types/default", "std"]
random = ["fuel-types/random"]
Expand All @@ -26,14 +29,14 @@ serde-types-minimal = ["fuel-asm/serde-types-minimal", "fuel-types/serde-types-m
[[test]]
name = "test-bytes"
path = "tests/bytes.rs"
required-features = ["random", "std"]
required-features = ["std"]

[[test]]
name = "test-offsets"
path = "tests/offset.rs"
required-features = ["random", "std"]
required-features = ["std"]

[[test]]
name = "test-valid"
path = "tests/valid.rs"
required-features = ["random", "std"]
required-features = ["std"]

0 comments on commit 82566d1

Please sign in to comment.