diff --git a/Tests/ManglingTests/MangledStrings.swift b/Tests/ManglingTests/MangledStrings.swift new file mode 100644 index 000000000..795c4a4da --- /dev/null +++ b/Tests/ManglingTests/MangledStrings.swift @@ -0,0 +1,10 @@ +extension ManglingTests { + + static let inputCase = + "mFxF0R0UfDynamicBufferA10sF06init1lTR736selfpT2bTa" + + "TK1Z2gTK1G8HeadergTK1G9ElementacapacitypT1aTR2Zqin" + + "itializing_header_withpT1lTgTrKG3E10pT2K4R7R7YVQOu" + + ".fZlTtT112lTtT215rT1K9dinit_headerrT1Ke10pT2tT215K" + + "9gpayload_headerK4R70R72K9tT13cKj" + +} diff --git a/Tests/ManglingTests/ManglingTests.swift b/Tests/ManglingTests/ManglingTests.swift index b39603cdc..25cbaa37f 100644 --- a/Tests/ManglingTests/ManglingTests.swift +++ b/Tests/ManglingTests/ManglingTests.swift @@ -119,13 +119,7 @@ final class ManglingTests: XCTestCase { } func testMonomorphized() { - let m = - "mFxF0R0UfDynamicBufferA10sF06init1lTR736selfpT2bTa" + - "TK1Z2gTK1G8HeadergTK1G9ElementacapacitypT1aTR2Zqin" + - "itializing_header_withpT1lTgTrKG3E10pT2K4R7R7YVQOu" + - ".fZlTtT112lTtT215rT1K9dinit_headerrT1Ke10pT2tT215K" + - "9gpayload_headerK4R70R72K9tT13cKj" - XCTAssertNotNil(DemangledSymbol(m)) + XCTAssertNotNil(DemangledSymbol(Self.inputCase)) } }