@@ -474,7 +474,7 @@ class DocumentationContextTests: XCTestCase {
474
474
Folder ( name: " Resources " , content: [
475
475
// This whitespace and punctuation in this *file name* will be replaced by dashes in its identifier.
476
476
// No content in this file result in identifiers.
477
- TextFile ( name: " Technology file: with - whitespace, and_punctuation.tutorial " , utf8Content: """
477
+ TextFile ( name: " Technology file_ with - whitespace, and_punctuation.tutorial " , utf8Content: """
478
478
@Tutorials(name: " Technology Name " ) {
479
479
@Intro(title: " Intro Title " ) {
480
480
@Video(source: introvideo.mp4, poster: introposter.png)
@@ -510,10 +510,10 @@ class DocumentationContextTests: XCTestCase {
510
510
let identifierPaths = context. knownIdentifiers. map { $0. path } . sorted ( by: { lhs, rhs in lhs. count < rhs. count } )
511
511
XCTAssertEqual ( identifierPaths, [
512
512
// From the two file names
513
- " /tutorials/Technology-file: -with---whitespace,-and_punctuation " ,
513
+ " /tutorials/Technology-file_ -with---whitespace,-and_punctuation " ,
514
514
// From the volume's title and the chapter's names, appended to their technology's identifier
515
- " /tutorials/Technology-file: -with---whitespace,-and_punctuation/Volume_Section-Title:-with---various!-whitespace,-and/punctuation " ,
516
- " /tutorials/Technology-file: -with---whitespace,-and_punctuation/Volume_Section-Title:-with---various!-whitespace,-and/punctuation/Chapter_Title:-with---various!-whitespace,-and/punctuation "
515
+ " /tutorials/Technology-file_ -with---whitespace,-and_punctuation/Volume_Section-Title:-with---various!-whitespace,-and/punctuation " ,
516
+ " /tutorials/Technology-file_ -with---whitespace,-and_punctuation/Volume_Section-Title:-with---various!-whitespace,-and/punctuation/Chapter_Title:-with---various!-whitespace,-and/punctuation "
517
517
] )
518
518
}
519
519
0 commit comments