diff --git a/test/schema/fixtures/default-void-text-around/end-block/index.js b/test/schema/fixtures/default-void-text-around/end-block/index.js new file mode 100644 index 000000000..9a676e861 --- /dev/null +++ b/test/schema/fixtures/default-void-text-around/end-block/index.js @@ -0,0 +1,2 @@ + +export default {} diff --git a/test/schema/fixtures/default-void-text-around/end-block/input.yaml b/test/schema/fixtures/default-void-text-around/end-block/input.yaml new file mode 100644 index 000000000..ec87a457f --- /dev/null +++ b/test/schema/fixtures/default-void-text-around/end-block/input.yaml @@ -0,0 +1,10 @@ + +nodes: + - kind: block + type: default + nodes: + - kind: text + text: "Hello " + - kind: inline + isVoid: true + type: image diff --git a/test/schema/fixtures/default-void-text-around/end-block/output.yaml b/test/schema/fixtures/default-void-text-around/end-block/output.yaml new file mode 100644 index 000000000..5aab2c5d2 --- /dev/null +++ b/test/schema/fixtures/default-void-text-around/end-block/output.yaml @@ -0,0 +1,13 @@ + + +nodes: + - kind: block + type: default + nodes: + - kind: text + text: "Hello " + - kind: inline + isVoid: true + type: image + - kind: text + text: "" diff --git a/test/schema/fixtures/default-void-text-around/start-block/index.js b/test/schema/fixtures/default-void-text-around/start-block/index.js new file mode 100644 index 000000000..9a676e861 --- /dev/null +++ b/test/schema/fixtures/default-void-text-around/start-block/index.js @@ -0,0 +1,2 @@ + +export default {} diff --git a/test/schema/fixtures/default-void-text-around/start-block/input.yaml b/test/schema/fixtures/default-void-text-around/start-block/input.yaml new file mode 100644 index 000000000..faacfdfff --- /dev/null +++ b/test/schema/fixtures/default-void-text-around/start-block/input.yaml @@ -0,0 +1,10 @@ + +nodes: + - kind: block + type: default + nodes: + - kind: inline + isVoid: true + type: image + - kind: text + text: " Hello" diff --git a/test/schema/fixtures/default-void-text-around/start-block/output.yaml b/test/schema/fixtures/default-void-text-around/start-block/output.yaml new file mode 100644 index 000000000..fe7e645dd --- /dev/null +++ b/test/schema/fixtures/default-void-text-around/start-block/output.yaml @@ -0,0 +1,13 @@ + + +nodes: + - kind: block + type: default + nodes: + - kind: text + text: "" + - kind: inline + isVoid: true + type: image + - kind: text + text: " Hello" diff --git a/test/schema/fixtures/default-void-text-around/with-inline/index.js b/test/schema/fixtures/default-void-text-around/with-inline/index.js new file mode 100644 index 000000000..9a676e861 --- /dev/null +++ b/test/schema/fixtures/default-void-text-around/with-inline/index.js @@ -0,0 +1,2 @@ + +export default {} diff --git a/test/schema/fixtures/default-void-text-around/with-inline/input.yaml b/test/schema/fixtures/default-void-text-around/with-inline/input.yaml new file mode 100644 index 000000000..a3b1bad54 --- /dev/null +++ b/test/schema/fixtures/default-void-text-around/with-inline/input.yaml @@ -0,0 +1,13 @@ + +nodes: + - kind: block + type: default + nodes: + - kind: inline + type: link + nodes: + - kind: text + text: "Hello " + - kind: inline + isVoid: true + type: image diff --git a/test/schema/fixtures/default-void-text-around/with-inline/output.yaml b/test/schema/fixtures/default-void-text-around/with-inline/output.yaml new file mode 100644 index 000000000..d7d303bcb --- /dev/null +++ b/test/schema/fixtures/default-void-text-around/with-inline/output.yaml @@ -0,0 +1,16 @@ + + +nodes: + - kind: block + type: default + nodes: + - kind: inline + type: link + nodes: + - kind: text + text: "Hello " + - kind: inline + isVoid: true + type: image + - kind: text + text: ""