Skip to content

Commit

Permalink
Removed humantime dependency from amethyst_test.
Browse files Browse the repository at this point in the history
  • Loading branch information
azriel91 committed Oct 21, 2019
1 parent 078ab3f commit 9685e86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion amethyst_test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ amethyst = { path = "..", version = "0.13.0" }
derivative = "1.0"
derive-new = "0.5"
derive_deref = "1.1.0"
humantime = "1.3.0"
lazy_static = "1.3"
log = "0.4"

Expand Down
7 changes: 2 additions & 5 deletions amethyst_test/src/wait_for_load.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,9 @@ where
if elapsed > LOADING_TIME_LIMIT {
self.stopwatch.stop();

let duration = humantime::Duration::from(elapsed);

warn!(
"Loading has not completed in {}, please ensure that you have registered \
the relevant `Processor::<A>`s in the dispatcher.",
duration
"Loading has not completed in 10 seconds, please ensure that you have \
registered the relevant `Processor::<A>`s in the dispatcher.",
);
}
}
Expand Down

0 comments on commit 9685e86

Please sign in to comment.