Skip to content

Commit

Permalink
test(autonomi): feature gate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
b-zee committed Sep 10, 2024
1 parent 0208740 commit 3f1a4fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions autonomi/tests/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use tokio::time::sleep;

mod common;

#[cfg(feature = "files")]
#[tokio::test]
async fn file() -> Result<(), Box<dyn std::error::Error>> {
common::enable_logging();
Expand Down
1 change: 1 addition & 0 deletions autonomi/tests/put.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use tokio::time::sleep;

mod common;

#[cfg(feature = "data")]
#[tokio::test]
async fn put() {
common::enable_logging();
Expand Down
1 change: 1 addition & 0 deletions autonomi/tests/register.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use xor_name::XorName;

mod common;

#[cfg(feature = "registers")]
#[tokio::test]
async fn register() {
common::enable_logging();
Expand Down

0 comments on commit 3f1a4fb

Please sign in to comment.