Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
snowmead committed Sep 30, 2024
1 parent 8666100 commit e4c361c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/storage/rocksdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -459,10 +459,7 @@ mod tests {
}

#[derive(Debug, Clone, thiserror::Error)]
pub enum MockPromptError {
#[error("Bad configuration: {0}")]
BadConfig(String),
}
pub enum MockPromptError {}

fn create_test_backend() -> RocksDbBackend<MockConfig> {
RocksDbBackend::new().unwrap()
Expand Down Expand Up @@ -717,13 +714,17 @@ mod tests {
// Retrieve fragments
let retrieved_fragment1 = <RocksDbBackend<MockConfig> as TapestryChestHandler<
MockConfig,
>>::get_tapestry_fragment(&backend, tapestry_id.clone(), Some(1))
>>::get_tapestry_fragment(
&backend, tapestry_id.clone(), Some(1)
)
.await
.unwrap()
.unwrap();
let retrieved_fragment2 = <RocksDbBackend<MockConfig> as TapestryChestHandler<
MockConfig,
>>::get_tapestry_fragment(&backend, tapestry_id.clone(), Some(2))
>>::get_tapestry_fragment(
&backend, tapestry_id.clone(), Some(2)
)
.await
.unwrap()
.unwrap();
Expand Down

0 comments on commit e4c361c

Please sign in to comment.