rrd: rust fmt
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -7,7 +7,6 @@ use proxmox_rrd::rrd::RRD;
|
||||
use proxmox_sys::fs::CreateOptions;
|
||||
|
||||
fn compare_file(fn1: &str, fn2: &str) -> Result<(), Error> {
|
||||
|
||||
let status = Command::new("/usr/bin/cmp")
|
||||
.arg(fn1)
|
||||
.arg(fn2)
|
||||
@ -27,7 +26,6 @@ const RRD_V2_FN: &str = "./tests/testdata/cpu.rrd_v2";
|
||||
// make sure we can load and convert RRD v1
|
||||
#[test]
|
||||
fn upgrade_from_rrd_v1() -> Result<(), Error> {
|
||||
|
||||
let rrd = RRD::load(Path::new(RRD_V1_FN), true)?;
|
||||
|
||||
const RRD_V2_NEW_FN: &str = "./tests/testdata/cpu.rrd_v2.upgraded";
|
||||
@ -44,7 +42,6 @@ fn upgrade_from_rrd_v1() -> Result<(), Error> {
|
||||
// make sure we can load and save RRD v2
|
||||
#[test]
|
||||
fn load_and_save_rrd_v2() -> Result<(), Error> {
|
||||
|
||||
let rrd = RRD::load(Path::new(RRD_V2_FN), true)?;
|
||||
|
||||
const RRD_V2_NEW_FN: &str = "./tests/testdata/cpu.rrd_v2.saved";
|
||||
|
Reference in New Issue
Block a user