Skip to content

Commit

Permalink
Type corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
huntc committed Aug 24, 2023
1 parent ec06b31 commit 29246a4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions akka-persistence-rs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ pub trait WithOffset {

#[cfg(test)]
mod tests {
use smol_str::SmolStr;

use super::*;

#[test]
Expand All @@ -133,8 +131,8 @@ mod tests {
fn test_slice_for_persistence_id() {
assert_eq!(
PersistenceId::new(
SmolStr::from("some-entity-type"),
SmolStr::from("some-entity-id")
EntityType::from("some-entity-type"),
EntityId::from("some-entity-id")
)
.slice(),
451
Expand Down

0 comments on commit 29246a4

Please sign in to comment.