Skip to content

Commit

Permalink
enable overwrite test
Browse files Browse the repository at this point in the history
  • Loading branch information
zjregee committed Apr 17, 2024
1 parent d4aa276 commit b0b9922
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 20 deletions.
5 changes: 0 additions & 5 deletions core/tests/behavior/async_copy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,6 @@ pub async fn test_copy_nested(op: Operator) -> Result<()> {

/// Copy to a exist path should overwrite successfully.
pub async fn test_copy_overwrite(op: Operator) -> Result<()> {
// Dropbox does not support copy overwrite.
if op.info().scheme() == Scheme::Dropbox {
return Ok(());
}

let source_path = uuid::Uuid::new_v4().to_string();
let (source_content, _) = gen_bytes(op.info().full_capability());

Expand Down
5 changes: 0 additions & 5 deletions core/tests/behavior/async_rename.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,6 @@ pub async fn test_rename_nested(op: Operator) -> Result<()> {

/// Rename to a exist path should overwrite successfully.
pub async fn test_rename_overwrite(op: Operator) -> Result<()> {
// Dropbox does not support rename overwrite.
if op.info().scheme() == Scheme::Dropbox {
return Ok(());
}

let source_path = uuid::Uuid::new_v4().to_string();
let (source_content, _) = gen_bytes(op.info().full_capability());

Expand Down
5 changes: 0 additions & 5 deletions core/tests/behavior/blocking_copy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,6 @@ pub fn test_blocking_copy_nested(op: BlockingOperator) -> Result<()> {

/// Copy to a exist path should overwrite successfully.
pub fn test_blocking_copy_overwrite(op: BlockingOperator) -> Result<()> {
// Dropbox does not support copy overwrite.
if op.info().scheme() == Scheme::Dropbox {
return Ok(());
}

let source_path = uuid::Uuid::new_v4().to_string();
let (source_content, _) = gen_bytes(op.info().full_capability());

Expand Down
5 changes: 0 additions & 5 deletions core/tests/behavior/blocking_rename.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,6 @@ pub fn test_blocking_rename_nested(op: BlockingOperator) -> Result<()> {

/// Rename to a exist path should overwrite successfully.
pub fn test_blocking_rename_overwrite(op: BlockingOperator) -> Result<()> {
// Dropbox does not support rename overwrite.
if op.info().scheme() == Scheme::Dropbox {
return Ok(());
}

let source_path = uuid::Uuid::new_v4().to_string();
let (source_content, _) = gen_bytes(op.info().full_capability());

Expand Down

0 comments on commit b0b9922

Please sign in to comment.