aboutsummaryrefslogtreecommitdiff
path: root/crates/whirl_common/tests
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-07-03 13:15:37 +0000
committerFuwn <[email protected]>2021-07-03 13:15:37 +0000
commit6153a3e5ae3eff1c73ba47c310717d879b4ca1c5 (patch)
treee09da20c4b0ed1d2f218d6dfac21496f787ba4c1 /crates/whirl_common/tests
parenttest(whirl_common): add criterion benchmarks (diff)
downloadwhirl-6153a3e5ae3eff1c73ba47c310717d879b4ca1c5.tar.xz
whirl-6153a3e5ae3eff1c73ba47c310717d879b4ca1c5.zip
refactor(whirl_common): rename `seconds_to_hrtime` to `unixts_to_hrtime`
Diffstat (limited to 'crates/whirl_common/tests')
-rw-r--r--crates/whirl_common/tests/test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/whirl_common/tests/test.rs b/crates/whirl_common/tests/test.rs
index 6727948..d786fa4 100644
--- a/crates/whirl_common/tests/test.rs
+++ b/crates/whirl_common/tests/test.rs
@@ -16,6 +16,6 @@ fn vec_alphabetically() {
fn seconds_to_hrtime() {
assert_eq!(
"125 weeks, 14 days, 9 hours, 37 mins, 57 secs",
- whirl_common::system::seconds_to_hrtime(1623058677),
+ whirl_common::system::unixts_to_hrtime(1623058677),
);
}