Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/protocol/clock.rs → src/protocol/clock/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::num::IntErrorKind;
pub use std::time::Duration;
use std::time::Duration;

pub type DurationSinceUnixEpoch = Duration;

Expand Down Expand Up @@ -240,9 +240,11 @@ mod stopped_clock {

#[test]
fn it_should_get_app_start_time() {
const TIME_AT_WRITING_THIS_TEST: Duration = Duration::new(1662983731, 000022312);
const TIME_AT_WRITING_THIS_TEST: Duration = Duration::new(1662983731, 22312);
assert!(get_app_start_time() > TIME_AT_WRITING_THIS_TEST);
}
}
}
}

pub mod time_extent;
Loading