You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tests/SwiftDocCTests/Diagnostics/DiagnosticConsoleWriterDefaultFormattingTest.swift
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,7 @@ class DiagnosticConsoleWriterDefaultFormattingTest: XCTestCase {
42
42
\u{001B}[1;31merror: \(summary)\u{001B}[0;0m
43
43
\(explanation)
44
44
\(expectedPath)
45
+
45
46
""")
46
47
}
47
48
@@ -56,6 +57,7 @@ class DiagnosticConsoleWriterDefaultFormattingTest: XCTestCase {
56
57
\u{001B}[1;33mwarning: \(summary)\u{001B}[0;0m
57
58
\(explanation)
58
59
\(expectedPath)
60
+
59
61
""")
60
62
}
61
63
@@ -70,6 +72,7 @@ class DiagnosticConsoleWriterDefaultFormattingTest: XCTestCase {
70
72
\u{001B}[1;39mnotice: \(summary)\u{001B}[0;0m
71
73
\(explanation)
72
74
\(expectedPath)
75
+
73
76
""")
74
77
}
75
78
@@ -84,6 +87,7 @@ class DiagnosticConsoleWriterDefaultFormattingTest: XCTestCase {
84
87
\u{001B}[1;39mnote: \(summary)\u{001B}[0;0m
85
88
\(explanation)
86
89
\(expectedPath)
90
+
87
91
""")
88
92
}
89
93
}
@@ -106,6 +110,7 @@ class DiagnosticConsoleWriterDefaultFormattingTest: XCTestCase {
106
110
\u{001B}[1;33mwarning: \(summary)\u{001B}[0;0m
107
111
\(explanation)
108
112
--> file.md:1:8-10:21
113
+
109
114
""")
110
115
}
111
116
@@ -140,6 +145,7 @@ class DiagnosticConsoleWriterDefaultFormattingTest: XCTestCase {
140
145
\(explanation)
141
146
/path/to/other/file.md:1:1: This is a note
142
147
--> /path/to/file.md:1:8-10:21
148
+
143
149
""")
144
150
}
145
151
@@ -214,6 +220,7 @@ class DiagnosticConsoleWriterDefaultFormattingTest: XCTestCase {
214
220
\u{001B}[1;33mwarning: Third diagnostic summary\u{001B}[0;0m
215
221
Third diagnostic explanation
216
222
--> /path/to/other/file.md
223
+
217
224
""")
218
225
}
219
226
@@ -243,6 +250,7 @@ class DiagnosticConsoleWriterDefaultFormattingTest: XCTestCase {
243
250
44 + This section link refers to this section itself: \u{001B}[1;32m<doc:/tutorials/Test-Bundle/TestTutorial#Create-a-New-AR-Project-%F0%9F%92%BB>.\u{001B}[0;0m
244
251
45 | This is an external link to Swift documentation: [Swift Documentation](https://swift.org/documentation/).
245
252
46 | This section link refers to the next section in this file: <doc:/tutorials/Test-Bundle/TestTutorial#Initiate-ARKit-Plane-Detection>.
253
+
246
254
""")
247
255
}
248
256
@@ -288,6 +296,7 @@ class DiagnosticConsoleWriterDefaultFormattingTest: XCTestCase {
288
296
3 + A short abstract \u{001B}[1;32mwith emoji 💻 in\u{001B}[0;0m it.
289
297
4 |
290
298
5 | @Metadata {
299
+
291
300
""")
292
301
}
293
302
@@ -332,6 +341,7 @@ class DiagnosticConsoleWriterDefaultFormattingTest: XCTestCase {
0 commit comments