Browse Source

add ut for option ServerSideEncryptionKeyID

hangzws 7 years ago
parent
commit
c61a1c479b
1 changed files with 5 additions and 0 deletions
  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) {