Skip to content

Commit 1a3f430

Browse files
committed
Incorporate feedback; use a different emoji to avoid namespace stompin' on Xcode 16 symbols
1 parent 67f6c4c commit 1a3f430

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Sources/Testing/ExitTests/ExitTest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,9 @@ extension ExitTest: DiscoverableAsTestContent {
248248
/// Store the exit test into the given memory.
249249
///
250250
/// - Parameters:
251-
/// - outValue: The uninitialized memory to store the exit test into.
252251
/// - id: The unique identifier of the exit test to store.
253252
/// - body: The body closure of the exit test to store.
253+
/// - outValue: The uninitialized memory to store the exit test into.
254254
/// - typeAddress: A pointer to the expected type of the exit test as passed
255255
/// to the test content record calling this function.
256256
/// - hintAddress: A pointer to an instance of ``ID`` to use as a hint.

Sources/TestingMacros/ConditionMacro.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ extension ExitTestConditionMacro {
452452

453453
// Create a local type that can be discovered at runtime and which contains
454454
// the exit test body.
455-
let className = context.makeUniqueName("__🟠$")
455+
let className = context.makeUniqueName("__🟡$")
456456
let testContentRecordDecl = makeTestContentRecordDecl(
457457
named: .identifier("testContentRecord"),
458458
in: TypeSyntax(IdentifierTypeSyntax(name: className)),

Sources/TestingMacros/SuiteDeclarationMacro.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public struct SuiteDeclarationMacro: MemberMacro, PeerMacro, Sendable {
161161
)
162162

163163
// Emit a type that contains a reference to the test content record.
164-
let className = context.makeUniqueName("__🟠$")
164+
let className = context.makeUniqueName("__🟡$")
165165
result.append(
166166
"""
167167
@available(*, deprecated, message: "This type is an implementation detail of the testing library. Do not use it directly.")

Sources/TestingMacros/TestDeclarationMacro.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ public struct TestDeclarationMacro: PeerMacro, Sendable {
497497
)
498498

499499
// Emit a type that contains a reference to the test content record.
500-
let className = context.makeUniqueName(thunking: functionDecl, withPrefix: "__🟠$")
500+
let className = context.makeUniqueName(thunking: functionDecl, withPrefix: "__🟡$")
501501
result.append(
502502
"""
503503
@available(*, deprecated, message: "This type is an implementation detail of the testing library. Do not use it directly.")

Sources/_TestDiscovery/TestContentRecord.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ extension DiscoverableAsTestContent where Self: ~Copyable {
336336

337337
let result = SectionBounds.all(.typeMetadata).lazy.flatMap { sb in
338338
stride(from: sb.buffer.baseAddress!, to: sb.buffer.baseAddress! + sb.buffer.count, by: SWTTypeMetadataRecordByteCount).lazy
339-
.compactMap { swt_getType(fromTypeMetadataRecord: $0, ifNameContains: "__🟠$") }
339+
.compactMap { swt_getType(fromTypeMetadataRecord: $0, ifNameContains: "__🟡$") }
340340
.map { unsafeBitCast($0, to: Any.Type.self) }
341341
.compactMap { $0 as? any TestContentRecordContainer.Type }
342342
.compactMap { _makeTestContentRecord(from: $0, in: sb) }

0 commit comments

Comments
 (0)