Skip to content

Commit bddd04d

Browse files
committed
test: fix never used warning
1 parent f95a3b9 commit bddd04d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QiniuTests/Storage/BucketManagerTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public void ChangeTypeTest()
139139
string key = "qiniu.png";
140140

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

0 commit comments

Comments
 (0)