提交 27f96470 编写于 作者: C Christian Noon

Unified all multi-line dictionary formatting.

上级 b865e1cb
......@@ -80,9 +80,11 @@ public class Manager {
return "Alamofire"
}()
return ["Accept-Encoding": acceptEncoding,
return [
"Accept-Encoding": acceptEncoding,
"Accept-Language": acceptLanguage,
"User-Agent": userAgent]
"User-Agent": userAgent
]
}()
let queue = dispatch_queue_create(nil, DISPATCH_QUEUE_SERIAL)
......
......@@ -248,10 +248,11 @@ class AlamofireJSONParameterEncodingTestCase: XCTestCase {
let parameters = [
"foo": "bar",
"baz": ["a", 1, true],
"qux": ["a": 1,
"b": [2, 2],
"c": [3, 3, 3]
]
"qux": [
"a": 1,
"b": [2, 2],
"c": [3, 3, 3]
]
]
let (URLRequest, error) = self.encoding.encode(self.URLRequest, parameters: parameters)
......@@ -294,7 +295,8 @@ class AlamofirePropertyListParameterEncodingTestCase: XCTestCase {
let parameters = [
"foo": "bar",
"baz": ["a", 1, true],
"qux": ["a": 1,
"qux": [
"a": 1,
"b": [2, 2],
"c": [3, 3, 3]
]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册