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 a82d95b commit cbb24a6Copy full SHA for cbb24a6
Sources/OpenGraphShims/Attribute+Debug.swift
@@ -2,6 +2,8 @@
2
// Attribute+Debug.swift
3
// OpenGraphShims
4
5
+#if canImport(Darwin) && DEBUG // Compiler crash for Darwin + release and non-Darwin build
6
+
7
// Use 4 spaces instead of \t for bettern test case expect
8
private let tab = " "
9
@@ -85,4 +87,5 @@ extension AnyAttribute: Swift.CustomDebugStringConvertible {
85
87
86
88
return "\(nextTabs)\(bodyValueString)"
89
}
-}
90
+}
91
+#endif
Tests/OpenGraphShimsTests/Attribute+DebugTests.swift
// Attribute+DebugTests.swift
// OpenGraphShimsTests
+#if canImport(Darwin) && DEBUG
import Testing
import OpenGraphShims
@@ -48,3 +50,4 @@ struct Attribute_DebugTests {
48
50
"""#)
49
51
52
53
0 commit comments