Skip to content

Commit d860530

Browse files
committed
include-files: update test
1 parent a035ed4 commit d860530

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

expected-auto.native

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,29 @@
128128
( "subdir/someimage.png" , "" )
129129
]
130130
]
131+
, Figure
132+
( "" , [] , [] )
133+
(Caption
134+
Nothing [ Plain [ Str "Image" , Space , Str "title" ] ])
135+
[ Plain
136+
[ Image
137+
( "" , [] , [] )
138+
[ Str "Image" , Space , Str "title" ]
139+
( "https://example.com/someimage.png" , "" )
140+
]
141+
]
131142
, Para
132143
[ Link
133144
( "" , [] , [] )
134145
[ Str "Some" , Space , Str "link" ]
135146
( "subdir/someimage.png" , "" )
136147
]
148+
, Para
149+
[ Link
150+
( "" , [] , [] )
151+
[ Str "Some" , Space , Str "link" ]
152+
( "https://example.com/someimage.png" , "" )
153+
]
137154
, Header
138155
2
139156
( "source-include" , [] , [] )

expected.native

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,29 @@
128128
( "subdir/someimage.png" , "" )
129129
]
130130
]
131+
, Figure
132+
( "" , [] , [] )
133+
(Caption
134+
Nothing [ Plain [ Str "Image" , Space , Str "title" ] ])
135+
[ Plain
136+
[ Image
137+
( "" , [] , [] )
138+
[ Str "Image" , Space , Str "title" ]
139+
( "https://example.com/someimage.png" , "" )
140+
]
141+
]
131142
, Para
132143
[ Link
133144
( "" , [] , [] )
134145
[ Str "Some" , Space , Str "link" ]
135146
( "subdir/someimage.png" , "" )
136147
]
148+
, Para
149+
[ Link
150+
( "" , [] , [] )
151+
[ Str "Some" , Space , Str "link" ]
152+
( "https://example.com/someimage.png" , "" )
153+
]
137154
, Header
138155
1
139156
( "source-include" , [] , [] )

subdir/file-g.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ Image relative path will be updated.
44

55
![Image title](someimage.png)
66

7+
![Image title](https://example.com/someimage.png)
8+
79
[Some link](someimage.png)
810

11+
[Some link](https://example.com/someimage.png)
12+
913
# Source include
1014

1115
File inclusion codeblocks for use with include-code-files will be

0 commit comments

Comments
 (0)