diff --git a/tests/daemon.rs b/tests/daemon.rs index 2476cc7..381de00 100644 --- a/tests/daemon.rs +++ b/tests/daemon.rs @@ -25,7 +25,7 @@ fn test_notify() { let result = daemon::notify(false, [ (daemon::STATE_READY, "1"), (daemon::STATE_STATUS, "Running test_notify()"), - ].into_iter()); + ].iter()); assert!(result.is_ok()); assert_eq!(result.ok().unwrap(), false); // should fail, since this is not systemd-launched. }