Skip to content

Commit 161ea64

Browse files
committed
1 parent c240d2b commit 161ea64

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

Package.resolved

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tests/OpenAttributeGraphCompatibilityTests/Attribute/Attribute/AnyAttributeCompatibilityTests.swift

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import Testing
88
// swift-testing framework will crash here on Linux
99
// Report to upstream for investigation when we bump to 5.10
1010
#if canImport(Darwin)
11-
//@Suite(.disabled(if: !compatibilityTestEnabled, "Attribute is not implemented"), .graphScope)
12-
@Suite(.disabled("Skip flaky CI tests after #154 temporary, See more info on #157"), .graphScope)
11+
@MainActor
12+
@Suite(.disabled(if: !compatibilityTestEnabled, "Attribute is not implemented"), .graphScope)
1313
struct AnyAttributeCompatibilityTests {
1414
@Test
1515
func constantValue() throws {
@@ -104,6 +104,14 @@ struct AnyAttributeCompatibilityTests {
104104
let identifier = Attribute(value: 0).identifier
105105
#expect(identifier.subgraph2 != nil)
106106
}
107+
108+
@Test
109+
func wasModified() {
110+
let value = Attribute(value: 0)
111+
value.value = 3
112+
#expect(AnyAttribute.currentWasModified == false)
113+
// TODO: currentWasModified true logic test case
114+
}
107115
#endif
108116
}
109117
#endif

0 commit comments

Comments
 (0)