]> git.proxmox.com Git - proxmox.git/commitdiff
formatting fixup
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 25 May 2020 09:12:08 +0000 (11:12 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 25 May 2020 09:12:08 +0000 (11:12 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
proxmox/src/sys/linux/procfs.rs

index 85f87f73ccb781e25919688a6221ed279b0adec0..6e3779d58741c9c1b08f2dab79952848c9f287aa 100644 (file)
@@ -781,8 +781,7 @@ impl fmt::Display for Loadavg {
 
 #[test]
 fn test_loadavg() {
-    let avg = Loadavg::parse("0.44 0.48 0.44 2/1062 18549")
-        .expect("loadavg parser failed");
+    let avg = Loadavg::parse("0.44 0.48 0.44 2/1062 18549").expect("loadavg parser failed");
     assert_eq!((avg.one() * 1000.0) as u64, 440u64);
     assert_eq!((avg.five() * 1000.0) as u64, 480u64);
     assert_eq!((avg.fifteen() * 1000.0) as u64, 440u64);