File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Tests/SwiftLexicalLookupTest Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -525,22 +525,25 @@ final class testNameLookup: XCTestCase {
525525 " 6️⃣ " : [ . fromFileScope( expectedNames: [ " 9️⃣ " ] ) ] ,
526526 " 0️⃣ " : [ . fromFileScope( expectedNames: [ " 9️⃣ " ] ) ] ,
527527 ] ,
528- expectedResultTypes: . all( ClassDeclSyntax . self, except: [
529- " 8️⃣ " : IdentifierPatternSyntax . self,
530- " 🔟 " : IdentifierPatternSyntax . self
531- ] ) ,
528+ expectedResultTypes: . all(
529+ ClassDeclSyntax . self,
530+ except: [
531+ " 8️⃣ " : IdentifierPatternSyntax . self,
532+ " 🔟 " : IdentifierPatternSyntax . self,
533+ ]
534+ ) ,
532535 config: LookupConfig ( fileScopeHandling: . memberBlock)
533536 )
534537 }
535-
538+
536539 func testDeclarationAvailabilityInCodeBlock( ) {
537540 assertLexicalNameLookup (
538541 source: """
539542 func x {
540543 1️⃣class A {}
541-
544+
542545 let a = 2️⃣A()
543-
546+
544547 3️⃣class A {}
545548 }
546549 """ ,
You can’t perform that action at this time.
0 commit comments