Skip to content

Commit 00aaf1a

Browse files
committed
apollo_committer: add request_paths_and_commit_block tests
1 parent dc8b161 commit 00aaf1a

4 files changed

Lines changed: 446 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 = ["os_input", "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
@@ -314,3 +314,7 @@ async fn verify_state_diff_hash_fails() {
314314
.await;
315315
assert_matches!(result, Err(CommitterError::StateDiffHashMismatch { .. }));
316316
}
317+
318+
#[cfg(feature = "os_input")]
319+
#[path = "request_paths_and_commit_block_tests.rs"]
320+
mod request_paths_and_commit_block_tests;

0 commit comments

Comments
 (0)