fix(push): push deletion
This commit is contained in:
11
tests/add.rs
11
tests/add.rs
@@ -94,4 +94,15 @@ mod add_tests {
|
||||
client.clean();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn add_no_change() {
|
||||
assert!(false);
|
||||
// add a file push it and add it again
|
||||
// let id = get_random_test_id();
|
||||
// let mut client = ClientTest::new(id).init();
|
||||
//
|
||||
//
|
||||
// client.clean();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -100,8 +100,7 @@ impl ClientTest {
|
||||
let mut path = self.volume.clone();
|
||||
path.push_str("/");
|
||||
path.push_str(name);
|
||||
|
||||
fs::remove_file(name)?;
|
||||
fs::remove_file(path)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user