Skip to content

Commit

Permalink
Fix kani_verif imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherRabotin committed Jul 7, 2024
1 parent c790428 commit d223f84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/duration/kani_verif.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

// Here lives all of the formal verification for Duration.

use super::{Duration, DurationError, EpochError};
use super::{Duration, DurationError, HifitimeError};
use crate::NANOSECONDS_PER_CENTURY;

use kani::Arbitrary;
Expand Down Expand Up @@ -43,7 +43,7 @@ fn formal_duration_truncated_ns_reciprocity() {
// Then it does not fit on a i64, so this function should return an error
assert_eq!(
dur_from_part.try_truncated_nanoseconds(),
Err(EpochError::Duration {
Err(HifitimeError::Duration {
source: DurationError::Overflow,
})
);
Expand Down

0 comments on commit d223f84

Please sign in to comment.