diff --git a/test/type/dictionary.swift b/test/type/dictionary.swift index 024937331cb42..498b29f9391b8 100644 --- a/test/type/dictionary.swift +++ b/test/type/dictionary.swift @@ -32,4 +32,4 @@ var y2: [String : ] // expected-error{{expected dictionary value type}} struct NotHashable { } -var nh1 : [NotHashable : Int ] // expected-error{{'NotHashable' does not conform to protocol 'Hashable'}} +var nh1 : [NotHashable : Int] // expected-error{{'NotHashable' does not conform to protocol 'Hashable'}} diff --git a/test/type/infer/global_variables.swift b/test/type/infer/global_variables.swift index b708e470b67c8..c6cac0f24cc3b 100644 --- a/test/type/infer/global_variables.swift +++ b/test/type/infer/global_variables.swift @@ -2,7 +2,7 @@ var b = true, i = 17 -var d : Dictionary = [0 : "Zero", 1 : "One", 2 : "Two" ] +var d : Dictionary = [0 : "Zero", 1 : "One", 2 : "Two"] func testGlobals() { b = false diff --git a/test/type/infer/instance_variables.swift b/test/type/infer/instance_variables.swift index 3e9817de73711..48ae7e7384b69 100644 --- a/test/type/infer/instance_variables.swift +++ b/test/type/infer/instance_variables.swift @@ -3,7 +3,7 @@ struct X { var b = true, i = 17 - var d : Dictionary = [0 : "Zero", 1 : "One", 2 : "Two" ] + var d : Dictionary = [0 : "Zero", 1 : "One", 2 : "Two"] } func testX(inout x: X) {