diff --git a/test/schema/fixtures/default-void-text-around/end-inline/index.js b/test/schema/fixtures/default-void-text-around/end-inline/index.js new file mode 100644 index 000000000..9a676e861 --- /dev/null +++ b/test/schema/fixtures/default-void-text-around/end-inline/index.js @@ -0,0 +1,2 @@ + +export default {} diff --git a/test/schema/fixtures/default-void-text-around/end-inline/input.yaml b/test/schema/fixtures/default-void-text-around/end-inline/input.yaml new file mode 100644 index 000000000..0ee1c3d1b --- /dev/null +++ b/test/schema/fixtures/default-void-text-around/end-inline/input.yaml @@ -0,0 +1,13 @@ + +nodes: + - kind: block + type: default + nodes: + - kind: inline + type: link + nodes: + - kind: text + text: "Hello " + - kind: inline + type: image + isVoid: true diff --git a/test/schema/fixtures/default-void-text-around/end-inline/output.yaml b/test/schema/fixtures/default-void-text-around/end-inline/output.yaml new file mode 100644 index 000000000..094c692c4 --- /dev/null +++ b/test/schema/fixtures/default-void-text-around/end-inline/output.yaml @@ -0,0 +1,15 @@ + +nodes: + - kind: block + type: default + nodes: + - kind: inline + type: link + nodes: + - kind: text + text: "Hello " + - kind: inline + type: image + isVoid: true + - kind: text + text: " "