@@ -298,41 +298,49 @@ enum Main:SyncTests
298
298
tests. expect ( codelink. path. components ..? [ " Sloth " , " update(_:) " ] )
299
299
tests. expect ( codelink. hash? . value ==? . init( " 4ko57 " , radix: 36 ) )
300
300
}
301
- if let tests: TestGroup = tests / " codelinks " / " legacy-docc "
301
+ if let tests: TestGroup = tests / " Codelinks " / " LegacyDocC "
302
302
{
303
- if let tests: TestGroup = tests / " slashes " ,
303
+ if let tests: TestGroup = tests / " Slashes " ,
304
304
let codelink: Codelink = . parse( " Sloth/Color " , for: tests)
305
305
{
306
306
tests. expect ( nil : codelink. filter)
307
307
tests. expect ( nil : codelink. scope)
308
308
tests. expect ( codelink. path. components ..? [ " Sloth " , " Color " ] )
309
309
tests. expect ( nil : codelink. hash)
310
310
}
311
- if let tests: TestGroup = tests / " filter " ,
311
+ if let tests: TestGroup = tests / " TrailingSlashes " ,
312
+ let codelink: Codelink = . parse( " Sloth/Color/ " , for: tests)
313
+ {
314
+ tests. expect ( nil : codelink. filter)
315
+ tests. expect ( nil : codelink. scope)
316
+ tests. expect ( codelink. path. components ..? [ " Sloth " , " Color " ] )
317
+ tests. expect ( nil : codelink. hash)
318
+ }
319
+ if let tests: TestGroup = tests / " Filter " ,
312
320
let codelink: Codelink = . parse( " Sloth/Color-swift.enum " , for: tests)
313
321
{
314
322
tests. expect ( codelink. filter ==? . enum)
315
323
tests. expect ( nil : codelink. scope)
316
324
tests. expect ( codelink. path. components ..? [ " Sloth " , " Color " ] )
317
325
tests. expect ( nil : codelink. hash)
318
326
}
319
- if let tests: TestGroup = tests / " hash " ,
327
+ if let tests: TestGroup = tests / " Hash " ,
320
328
let codelink: Codelink = . parse( " Sloth/update(_:)-4ko57 " , for: tests)
321
329
{
322
330
tests. expect ( nil : codelink. filter)
323
331
tests. expect ( nil : codelink. scope)
324
332
tests. expect ( codelink. path. components ..? [ " Sloth " , " update(_:) " ] )
325
333
tests. expect ( codelink. hash? . value ==? . init( " 4KO57 " , radix: 36 ) )
326
334
}
327
- if let tests: TestGroup = tests / " hash " / " minus " ,
335
+ if let tests: TestGroup = tests / " Hash " / " Minus " ,
328
336
let codelink: Codelink = . parse( " Sloth/-(_:)-4ko57 " , for: tests)
329
337
{
330
338
tests. expect ( nil : codelink. filter)
331
339
tests. expect ( nil : codelink. scope)
332
340
tests. expect ( codelink. path. components ..? [ " Sloth " , " -(_:) " ] )
333
341
tests. expect ( codelink. hash? . value ==? . init( " 4KO57 " , radix: 36 ) )
334
342
}
335
- if let tests: TestGroup = tests / " hash " / " slinging " / " slasher " ,
343
+ if let tests: TestGroup = tests / " Hash " / " Slinging " / " Slasher " ,
336
344
let codelink: Codelink = . parse( " Sloth//(_:)-4ko57 " , for: tests)
337
345
{
338
346
tests. expect ( nil : codelink. filter)
0 commit comments