浏览代码

add ut for option ServerSideEncryptionKeyID

hangzws 7 年之前
父节点
当前提交
c61a1c479b
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      oss/option_test.go

+ 5 - 0
oss/option_test.go

@@ -147,6 +147,11 @@ var headerTestcases = []optionTestCase{
 		key:    "Content-Language",
 		value:  "zh-CN",
 	},
+	{
+		option: ServerSideEncryptionKeyID("xossekid"),
+		key:    "X-Oss-Server-Side-Encryption-Key-Id",
+		value:  "xossekid",
+	},
 }
 
 func (s *OssOptionSuite) TestHeaderOptions(c *C) {