Skip to content

Commit 622a975

Browse files
authored
Improve test documentation
1 parent d9752b8 commit 622a975

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/SafeDIToolTests/SafeDIToolCodeGenerationTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5880,6 +5880,8 @@ struct SafeDIToolCodeGenerationTests: ~Copyable {
58805880

58815881
@Test
58825882
mutating func run_doesNotWriteConvenienceExtensionOnRootOfTree_whenUnexpectedSwiftNodesAreEncountered() async throws {
5883+
// If this test begins to fail after updating Swift, put the below code into an AST parser.
5884+
// The follow code generates unexpected nodes on Swift 6.2, but does not on Swift `main`.
58835885
let output = try await executeSafeDIToolTest(
58845886
swiftFileContent: [
58855887
"""

0 commit comments

Comments
 (0)