Skip to content

Commit

Permalink
test: fix never used warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lihsai0 committed Aug 23, 2024
1 parent f95a3b9 commit bddd04d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QiniuTests/Storage/BucketManagerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public void ChangeTypeTest()
string key = "qiniu.png";

string newKey = "qiniu-to-change-type.png";
HttpResult copyRet = bucketManager.Copy(Bucket, "qiniu.png", Bucket, newKey, true);
HttpResult copyRet = bucketManager.Copy(Bucket, key, Bucket, newKey, true);
if (copyRet.Code != (int)HttpCode.OK)
{
Assert.Fail("copy error: " + copyRet.ToString());
Expand Down

0 comments on commit bddd04d

Please sign in to comment.