Skip to content

Commit a476eb0

Browse files
committed
fix test failures
1 parent 5d33d3d commit a476eb0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Sources/UCFTests/CodelinkLegacyDocC.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ struct CodelinkLegacyDocC:ParsingSuite
103103

104104
#expect(link.path.components == ["Sloth", "update(_:)"])
105105
#expect(link.path.hasTrailingParentheses)
106-
#expect(link.suffix == .pattern(.inputs(["_"])))
106+
#expect(link.suffix == .pattern(.inputs([nil])))
107107
}
108108

109109
@Test
@@ -123,7 +123,7 @@ struct CodelinkLegacyDocC:ParsingSuite
123123

124124
#expect(link.path.components == ["Sloth", "update(_:)"])
125125
#expect(link.path.hasTrailingParentheses)
126-
#expect(link.suffix == .pattern(.inputs(["_", "String", "_"])))
126+
#expect(link.suffix == .pattern(.inputs([nil, "String", nil])))
127127
}
128128

129129
@Test
@@ -133,7 +133,7 @@ struct CodelinkLegacyDocC:ParsingSuite
133133

134134
#expect(link.path.components == ["Sloth", "update(_:)"])
135135
#expect(link.path.hasTrailingParentheses)
136-
#expect(link.suffix == .pattern(.output(.tuple(["_", "_"]))))
136+
#expect(link.suffix == .pattern(.output(.tuple([nil, nil]))))
137137
}
138138

139139
@Test
@@ -143,7 +143,7 @@ struct CodelinkLegacyDocC:ParsingSuite
143143

144144
#expect(link.path.components == ["Sloth", "update(_:)"])
145145
#expect(link.path.hasTrailingParentheses)
146-
#expect(link.suffix == .pattern(.output(.tuple(["Double", "_"]))))
146+
#expect(link.suffix == .pattern(.output(.tuple(["Double", nil]))))
147147
}
148148

149149
@Test
@@ -163,7 +163,7 @@ struct CodelinkLegacyDocC:ParsingSuite
163163

164164
#expect(link.path.components == ["Sloth", "update(_:)"])
165165
#expect(link.path.hasTrailingParentheses)
166-
#expect(link.suffix == .pattern(.output(.tuple(["_", "Int"]))))
166+
#expect(link.suffix == .pattern(.output(.tuple([nil, "Int"]))))
167167
}
168168

169169
@Test
@@ -193,7 +193,7 @@ struct CodelinkLegacyDocC:ParsingSuite
193193

194194
#expect(link.path.components == ["Sloth", "update(_:)"])
195195
#expect(link.path.hasTrailingParentheses)
196-
#expect(link.suffix == .pattern(.output(.single("_"))))
196+
#expect(link.suffix == .pattern(.output(.single(nil))))
197197
}
198198

199199
@Test
@@ -203,7 +203,7 @@ struct CodelinkLegacyDocC:ParsingSuite
203203

204204
#expect(link.path.components == ["Sloth", "update(_:)"])
205205
#expect(link.path.hasTrailingParentheses)
206-
#expect(link.suffix == .pattern(.output(.single("_"))))
206+
#expect(link.suffix == .pattern(.output(.single(nil))))
207207
}
208208

209209
@Test
@@ -223,7 +223,7 @@ struct CodelinkLegacyDocC:ParsingSuite
223223

224224
#expect(link.path.components == ["Sloth", "update(_:)"])
225225
#expect(link.path.hasTrailingParentheses)
226-
#expect(link.suffix == .pattern(.fullSignature(["_", "Int"], .single("_"))))
226+
#expect(link.suffix == .pattern(.fullSignature([nil, "Int"], .single(nil))))
227227
}
228228

229229
@Test
@@ -233,6 +233,6 @@ struct CodelinkLegacyDocC:ParsingSuite
233233

234234
#expect(link.path.components == ["Sloth", "update(_:)"])
235235
#expect(link.path.hasTrailingParentheses)
236-
#expect(link.suffix == .pattern(.fullSignature(["_", "Int"], .tuple(["_", "Int"]))))
236+
#expect(link.suffix == .pattern(.fullSignature([nil, "Int"], .tuple([nil, "Int"]))))
237237
}
238238
}

0 commit comments

Comments
 (0)