@@ -189,12 +189,12 @@ class SymbolDisambiguationTests: XCTestCase {
189
189
}
190
190
191
191
func testMixedLanguageFramework( ) async throws {
192
- let ( bundle , context) = try await testBundleAndContext ( named: " MixedLanguageFramework " )
192
+ let ( inputs , context) = try await testBundleAndContext ( named: " MixedLanguageFramework " )
193
193
194
- var loader = SymbolGraphLoader ( bundle: bundle , dataProvider: context. dataProvider)
194
+ var loader = SymbolGraphLoader ( bundle: inputs , dataProvider: context. dataProvider)
195
195
try loader. loadAll ( )
196
196
197
- let references = context. linkResolver. localResolver. referencesForSymbols ( in: loader. unifiedGraphs, bundle : bundle , context: context) . mapValues ( \. path)
197
+ let references = context. linkResolver. localResolver. referencesForSymbols ( in: loader. unifiedGraphs, context: context) . mapValues ( \. path)
198
198
XCTAssertEqual ( Set ( references. keys) , [
199
199
SymbolGraph . Symbol. Identifier ( precise: " c:@CM@TestFramework@objc(cs)MixedLanguageClassConformingToProtocol(im)mixedLanguageMethod " , interfaceLanguage: " swift " ) ,
200
200
. init( precise: " c:@E@Foo " , interfaceLanguage: " swift " ) ,
@@ -321,7 +321,7 @@ class SymbolDisambiguationTests: XCTestCase {
321
321
let uniqueSymbolCount = Set ( swiftSymbols. map ( \. preciseID) + objectiveCSymbols. map ( \. preciseID) ) . count
322
322
XCTAssertEqual ( unified. symbols. count, uniqueSymbolCount)
323
323
324
- let bundle = DocumentationBundle (
324
+ let inputs = DocumentationBundle (
325
325
info: DocumentationBundle . Info (
326
326
displayName: " SymbolDisambiguationTests " ,
327
327
id: " com.test.SymbolDisambiguationTests " ) ,
@@ -335,8 +335,8 @@ class SymbolDisambiguationTests: XCTestCase {
335
335
objcSymbolGraphURL: try JSONEncoder ( ) . encode ( graph2) ,
336
336
] , fallback: nil )
337
337
338
- let context = try await DocumentationContext ( bundle: bundle , dataProvider: provider)
338
+ let context = try await DocumentationContext ( bundle: inputs , dataProvider: provider)
339
339
340
- return context. linkResolver. localResolver. referencesForSymbols ( in: [ " SymbolDisambiguationTests " : unified] , bundle : bundle , context: context)
340
+ return context. linkResolver. localResolver. referencesForSymbols ( in: [ " SymbolDisambiguationTests " : unified] , context: context)
341
341
}
342
342
}
0 commit comments