Skip to content

Commit 047351d

Browse files
committed
checks should test in on all platforms
1 parent 3c76235 commit 047351d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

test/Interpreter/keypath.swift

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,19 @@ public func generic_class_constrained_keypath<U, V>(_ c: V) where V : GenericCon
6969
print(c[keyPath: kp].text)
7070
}
7171

72-
// CHECK: {{\\GenericController<Int>.label|\\GenericController<Int>.<.* \(MyLabel\)>}}
72+
// CHECK: GenericController<Int>.label
7373
// CHECK: label
7474
generic_class_constrained_keypath(GenericController(5))
7575

76-
// CHECK: {{\\Controller.secondLabel!.text|\\Controller.<.* \(MyLabel\)>!.<.* (String)>}}
76+
// CHECK: {{\\Controller\.secondLabel!\.text|\\Controller\.<computed 0x.* \(Optional<MyLabel>\)>!\.<computed 0x.* \(String\)>}}
7777
print(\Controller.secondLabel!.text)
78-
// CHECK: {{\\Controller.subscript\(_: \)|\\Controller.<.* \(Int\)>}}
78+
79+
// CHECK: {{\\Controller\.subscript\(_: \)|\\Controller\.<computed 0x.* \(String\)>}}
7980
print(\Controller["abc"])
80-
// CHECK: {{\\S.a|\\S.<offset 0 \(Int\)>}}
81+
// CHECK: \S.a
8182
print(\S.a)
82-
// CHECK: {{\\Controller.subscript\(int: str: _: \)|\\Controller.<.* \(Int\)>}}
83+
// CHECK: {{\\Controller\.subscript\(int: str: _: \)|\\Controller\.<computed 0x.* \(Int\)>}}
8384
print(\Controller[int: 0, str: "", 0])
84-
// CHECK: {{\\Controller.thirdLabel|\\Controller.<.* \(Int\)>}}
85+
// CHECK: {{\\Controller\.thirdLabel|\\Controller\.<computed 0x.* \(Optional<MyLabel>\)>}}
8586
print(\Controller.thirdLabel)
8687

0 commit comments

Comments
 (0)