@@ -83,13 +83,13 @@ struct ConditionMacroTests {
8383 ##"#expect(a, sourceLocation: someValue)"## :
8484 ##"Testing.__checkValue(a, expression: .__fromSyntaxNode("a"), comments: [], isRequired: false, sourceLocation: someValue).__expected()"## ,
8585 ##"#expect(a.isB)"## :
86- ##"Testing.__checkPropertyAccess(a.self, getting: { $0.isB }, expression: .__fromPropertyAccess(.__fromSyntaxNode("a"), .__fromSyntaxNode( "isB") ), comments: [], isRequired: false, sourceLocation: Testing.SourceLocation.__here()).__expected()"## ,
86+ ##"Testing.__checkPropertyAccess(a.self, getting: { $0.isB }, expression: .__fromPropertyAccess(.__fromSyntaxNode("a"), "isB"), comments: [], isRequired: false, sourceLocation: Testing.SourceLocation.__here()).__expected()"## ,
8787 ##"#expect(a???.isB)"## :
88- ##"Testing.__checkPropertyAccess(a.self, getting: { $0???.isB }, expression: .__fromPropertyAccess(.__fromSyntaxNode("a"), .__fromSyntaxNode( "isB") ), comments: [], isRequired: false, sourceLocation: Testing.SourceLocation.__here()).__expected()"## ,
88+ ##"Testing.__checkPropertyAccess(a.self, getting: { $0???.isB }, expression: .__fromPropertyAccess(.__fromSyntaxNode("a"), "isB"), comments: [], isRequired: false, sourceLocation: Testing.SourceLocation.__here()).__expected()"## ,
8989 ##"#expect(a?.b.isB)"## :
90- ##"Testing.__checkPropertyAccess(a?.b.self, getting: { $0?.isB }, expression: .__fromPropertyAccess(.__fromSyntaxNode("a?.b"), .__fromSyntaxNode( "isB") ), comments: [], isRequired: false, sourceLocation: Testing.SourceLocation.__here()).__expected()"## ,
90+ ##"Testing.__checkPropertyAccess(a?.b.self, getting: { $0?.isB }, expression: .__fromPropertyAccess(.__fromSyntaxNode("a?.b"), "isB"), comments: [], isRequired: false, sourceLocation: Testing.SourceLocation.__here()).__expected()"## ,
9191 ##"#expect(a?.b().isB)"## :
92- ##"Testing.__checkPropertyAccess(a?.b().self, getting: { $0?.isB }, expression: .__fromPropertyAccess(.__fromSyntaxNode("a?.b()"), .__fromSyntaxNode( "isB") ), comments: [], isRequired: false, sourceLocation: Testing.SourceLocation.__here()).__expected()"## ,
92+ ##"Testing.__checkPropertyAccess(a?.b().self, getting: { $0?.isB }, expression: .__fromPropertyAccess(.__fromSyntaxNode("a?.b()"), "isB"), comments: [], isRequired: false, sourceLocation: Testing.SourceLocation.__here()).__expected()"## ,
9393 ##"#expect(isolation: somewhere) {}"## :
9494 ##"Testing.__checkClosureCall(performing: {}, expression: .__fromSyntaxNode("{}"), comments: [], isRequired: false, isolation: somewhere, sourceLocation: Testing.SourceLocation.__here()).__expected()"## ,
9595 ]
@@ -163,13 +163,13 @@ struct ConditionMacroTests {
163163 ##"#require(a, sourceLocation: someValue)"## :
164164 ##"Testing.__checkValue(a, expression: .__fromSyntaxNode("a"), comments: [], isRequired: true, sourceLocation: someValue).__required()"## ,
165165 ##"#require(a.isB)"## :
166- ##"Testing.__checkPropertyAccess(a.self, getting: { $0.isB }, expression: .__fromPropertyAccess(.__fromSyntaxNode("a"), .__fromSyntaxNode( "isB") ), comments: [], isRequired: true, sourceLocation: Testing.SourceLocation.__here()).__required()"## ,
166+ ##"Testing.__checkPropertyAccess(a.self, getting: { $0.isB }, expression: .__fromPropertyAccess(.__fromSyntaxNode("a"), "isB"), comments: [], isRequired: true, sourceLocation: Testing.SourceLocation.__here()).__required()"## ,
167167 ##"#require(a???.isB)"## :
168- ##"Testing.__checkPropertyAccess(a.self, getting: { $0???.isB }, expression: .__fromPropertyAccess(.__fromSyntaxNode("a"), .__fromSyntaxNode( "isB") ), comments: [], isRequired: true, sourceLocation: Testing.SourceLocation.__here()).__required()"## ,
168+ ##"Testing.__checkPropertyAccess(a.self, getting: { $0???.isB }, expression: .__fromPropertyAccess(.__fromSyntaxNode("a"), "isB"), comments: [], isRequired: true, sourceLocation: Testing.SourceLocation.__here()).__required()"## ,
169169 ##"#require(a?.b.isB)"## :
170- ##"Testing.__checkPropertyAccess(a?.b.self, getting: { $0?.isB }, expression: .__fromPropertyAccess(.__fromSyntaxNode("a?.b"), .__fromSyntaxNode( "isB") ), comments: [], isRequired: true, sourceLocation: Testing.SourceLocation.__here()).__required()"## ,
170+ ##"Testing.__checkPropertyAccess(a?.b.self, getting: { $0?.isB }, expression: .__fromPropertyAccess(.__fromSyntaxNode("a?.b"), "isB"), comments: [], isRequired: true, sourceLocation: Testing.SourceLocation.__here()).__required()"## ,
171171 ##"#require(a?.b().isB)"## :
172- ##"Testing.__checkPropertyAccess(a?.b().self, getting: { $0?.isB }, expression: .__fromPropertyAccess(.__fromSyntaxNode("a?.b()"), .__fromSyntaxNode( "isB") ), comments: [], isRequired: true, sourceLocation: Testing.SourceLocation.__here()).__required()"## ,
172+ ##"Testing.__checkPropertyAccess(a?.b().self, getting: { $0?.isB }, expression: .__fromPropertyAccess(.__fromSyntaxNode("a?.b()"), "isB"), comments: [], isRequired: true, sourceLocation: Testing.SourceLocation.__here()).__required()"## ,
173173 ##"#require(isolation: somewhere) {}"## :
174174 ##"Testing.__checkClosureCall(performing: {}, expression: .__fromSyntaxNode("{}"), comments: [], isRequired: true, isolation: somewhere, sourceLocation: Testing.SourceLocation.__here()).__required()"## ,
175175 ]
@@ -183,7 +183,7 @@ struct ConditionMacroTests {
183183 @Test ( " Unwrapping #require() macro " ,
184184 arguments: [
185185 ##"#require(Optional<Int>.none)"## :
186- ##"Testing.__checkPropertyAccess(Optional<Int>.self, getting: { $0.none }, expression: .__fromPropertyAccess(.__fromSyntaxNode("Optional<Int>"), .__fromSyntaxNode( "none") ), comments: [], isRequired: true, sourceLocation: Testing.SourceLocation.__here()).__required()"## ,
186+ ##"Testing.__checkPropertyAccess(Optional<Int>.self, getting: { $0.none }, expression: .__fromPropertyAccess(.__fromSyntaxNode("Optional<Int>"), "none"), comments: [], isRequired: true, sourceLocation: Testing.SourceLocation.__here()).__required()"## ,
187187 ##"#require(nil ?? 123)"## :
188188 ##"Testing.__checkBinaryOperation(nil, { $0 ?? $1() }, 123, expression: .__fromBinaryOperation(.__fromSyntaxNode("nil"), "??", .__fromSyntaxNode("123")), comments: [], isRequired: true, sourceLocation: Testing.SourceLocation.__here()).__required()"## ,
189189 ##"#require(123 ?? nil)"## :
0 commit comments