@@ -25,19 +25,18 @@ class MarkdownASTests: XCTestCase {
25
25
" <p><img src= \" imagefile.png \" alt= \" Test image \" /></p> " )
26
26
XCTAssertEqual ( generateHtml ( imageBaseUrl: URL ( fileURLWithPath: " /global/root/path/ " ) ,
27
27
"  " ) ,
28
- " <p><img src= \" /global/root/path/imagefile.png \" alt= \" Test image \" /></p> " )
28
+ " <p><img src= \" file:// /global/root/path/imagefile.png\" alt= \" Test image \" /></p> " )
29
29
XCTAssertEqual ( generateHtml ( imageBaseUrl: URL ( fileURLWithPath: " /global/root/path/ " ) ,
30
30
"  " ) ,
31
- " <p><img src= \" /imagefile.png \" alt= \" Test image \" /></p> " )
31
+ " <p><img src= \" file:// /imagefile.png\" alt= \" Test image \" /></p> " )
32
32
XCTAssertEqual ( generateHtml ( "  " ) ,
33
33
" <p><img src= \" one/imagefile.png \" alt= \" Test image \" /></p> " )
34
34
XCTAssertEqual ( generateHtml ( imageBaseUrl: URL ( fileURLWithPath: " /global/root/path/ " ) ,
35
35
"  " ) ,
36
- " <p><img src= \" /global/root/path/one/imagefile.png \" alt= \" Test image \" /></p> " )
36
+ " <p><img src= \" file:// /global/root/path/one/imagefile.png\" alt= \" Test image \" /></p> " )
37
37
XCTAssertEqual ( generateHtml ( imageBaseUrl: URL ( fileURLWithPath: " /global/root/path/ " ) ,
38
38
"  " ) ,
39
- " <p><img src= \" /one/imagefile.png \" alt= \" Test image \" /></p> " )
40
-
39
+ " <p><img src= \" file:///one/imagefile.png \" alt= \" Test image \" /></p> " )
41
40
}
42
41
}
43
42
0 commit comments