We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3366f65 commit 3894845Copy full SHA for 3894845
Tests/TestingTests/AttachmentTests.swift
@@ -53,12 +53,14 @@ struct AttachmentTests {
53
#expect(attachment.description.contains("MySendableAttachable("))
54
}
55
56
+#if compiler(>=6.3) || !os(Windows) // WORKAROUND: swift-#84184
57
@Test func moveOnlyDescription() {
58
let attachableValue = MyAttachable(string: "<!doctype html>")
59
let attachment = Attachment(attachableValue, named: "AttachmentTests.saveValue.html")
60
#expect(attachment.description.contains(#""\#(attachment.preferredName)""#))
61
#expect(attachment.description.contains("'MyAttachable'"))
62
63
+#endif
64
65
#if !SWT_NO_FILE_IO
66
func compare(_ attachableValue: borrowing MySendableAttachable, toContentsOfFileAtPath filePath: String) throws {
0 commit comments