Skip to content

Commit f402fe9

Browse files
committed
Bypass Subgraph.currentGraphContext retain crash
1 parent e149f91 commit f402fe9

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

Tests/OpenGraphCompatibilityTests/Attribute/Weak/OGWeakAttributeTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
import Testing
66

77
#if canImport(Darwin)
8+
9+
@Suite(.enabled(if: compatibilityTestEnabled))
810
final class AnyWeakAttributeTests: AttributeTestBase {
911
@Test
1012
func basic() {

Tests/OpenGraphCompatibilityTests/Attribute/Weak/WeakAttributeTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
import Testing
66

7-
// *** Program crashed: Bad pointer dereference at 0x00000007eff1c01b ***
87
#if canImport(Darwin)
8+
@Suite(.enabled(if: compatibilityTestEnabled))
99
final class WeakAttributeTests: AttributeTestBase {
1010
@Test
1111
func initTest() {

Tests/OpenGraphCompatibilityTests/Graph/SubgraphTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import Testing
66

7+
@Suite(.enabled(if: compatibilityTestEnabled))
78
struct SubgraphTests {
89
@Test
910
func shouldRecordTree() {

0 commit comments

Comments
 (0)