Skip to content

Commit 1a70b65

Browse files
committed
apollo_committer: add request_paths_and_commit_block tests
1 parent c96290d commit 1a70b65

4 files changed

Lines changed: 407 additions & 0 deletions

File tree

crates/apollo_committer/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ tracing.workspace = true
2424
[dev-dependencies]
2525
assert_matches.workspace = true
2626
indexmap.workspace = true
27+
starknet_committer = { workspace = true, features = ["testing"] }
2728
starknet_patricia = { workspace = true, features = ["testing"] }
2829
tokio.workspace = true
2930

crates/apollo_committer/src/committer_test.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ use starknet_patricia_storage::map_storage::MapStorage;
2020
use super::Committer;
2121
use crate::committer::StorageConstructor;
2222

23+
#[cfg(feature = "os_input")]
24+
#[path = "request_paths_and_commit_block_tests.rs"]
25+
mod request_paths_and_commit_block_tests;
26+
2327
pub type ApolloTestStorage = MapStorage;
2428
pub type ApolloTestCommitter = Committer<ApolloTestStorage, IndexDb<ApolloTestStorage>>;
2529

0 commit comments

Comments
 (0)